There are dozen of half solutions or automatically closed subject WITH NO definitive answers:
We need nvm to work for ALL commands not just while doing this:
- run: command: | export NVM_DIR="/opt/circleci/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm nvm install 10 node -v npm -v npm i -g firstname.lastname@example.org npm -v
Right now any other step won’t get the correct node version!