Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

anonymouse703's avatar

Cannot add node version in Laravel HERD

I updated HERD version to 1.9.1 and when I try to install another node version it's not working even if I used nvm cli

  1. I tried to update through HERD GUI but not installing
  2. I even used the CLI
user@users-MBP Herd % nvm install v20.16.0 
Downloading and installing node v20.16.0...
Downloading https://nodejs.org/dist/v20.16.0/node-v20.16.0-darwin-x64.tar.xz...
######################################################################### 100.0%
######################################################################### 100.0%curl: (6) Could not resolve host: Support

Binary download from https://nodejs.org/dist/v20.16.0/node-v20.16.0-darwin-x64.tar.xz failed, trying source.
grep: /Users/user/Library/Application Support/Herd/config/nvm/.cache/bin/node-v20.16.0-darwin-x64/node-v20.16.0-darwin-x64.tar.xz: No such file or directory
Provided file to checksum does not exist.
Binary download failed, trying source.
Detected that you have 8 CPU core(s)
Running with 7 threads to speed up the build
Clang v3.5+ detected! CC or CXX not specified, will use Clang as C/C++ compiler!
Downloading https://nodejs.org/dist/v20.16.0/node-v20.16.0.tar.xz...
######################################################################### 100.0%
######################################################################### 100.0%curl: (6) Could not resolve host: Support

Binary download from https://nodejs.org/dist/v20.16.0/node-v20.16.0.tar.xz failed, trying source.
grep: /Users/user/Library/Application Support/Herd/config/nvm/.cache/src/node-v20.16.0/node-v20.16.0.tar.xz: No such file or directory
Provided file to checksum does not exist.
0 likes
6 replies
Tray2's avatar

I just installed all the versions available, and had no issues what so ever.

My guess from your errors, there were some temporary issue with the nodejs servers.

anonymouse703's avatar

@Tray2 What HERD version you used sir? 1.9.1? Also sir, In my colleagues macbook they are using m chip and can update node smoothly, and in my case I'm using intel chip does the hardware also affect this?

mkorcy's avatar

I just ran into the same problem as the OP.

mkorcy's avatar

I fixed locally by symlinking:

ln -s /Users/mikek/Library/Application\ Support/Herd Herd

editing .zshrc and changing the Herd injecting NVM directory to point to the symlink:

Herd injected NVM configuration

export NVM_DIR="/Users/mike/Herd/config/nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

It was getting tripped up on the space in the path for some reason as evidenced by the could not resolve host "Support" in OPs error.

1 like
wolfcoder's avatar

Today I encountered the same issue during a Windows installation: Node/NVM is not available on a fresh install.

Please or to participate in this conversation.