Using NVM in a GoCD Agent
NVM cannot be used directly in a GoCD agent, because the agent uses a non-interactive shell when running jobs.
Instead, use nvm-exec to run NVM commands in the GoCD agent:
/var/go/.nvm/nvm-exec npm install
NVM cannot be used directly in a GoCD agent, because the agent uses a non-interactive shell when running jobs.
Instead, use nvm-exec to run NVM commands in the GoCD agent:
/var/go/.nvm/nvm-exec npm install