
The installed Node.js version in the Probo Docker Image you are using may differ from the Node.js version used for building your project dependencies. Update the node version in your Probo Build by using one of the following methods.
NVM is the Node Version Manager.
The example steps below will use NVM to update the Node.js version in your Probo Build to Node 12, which is the current LTS release.
1 2 3 4 5 6 7 8 9 10 11 12 | steps: - name: Update Node.js. plugin: Script script: | echo "Installing NVM...\n" curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.1/install.sh | bash export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" echo "Updating Node version...\n" nvm install 12 nvm use 12 |
N is a package available for Node version management.
The example steps below will use N to update the Node.js version in your Probo Build to the latest Node and install the latest NPM stable release.

When you sign up for a Probo.CI registration code, you will get a two week trial of the plan of your choosing. For more information on how to get started, click here .
LEARN MORE ABOUT PROBO.CI'S PRICING