diff --git a/.evergreen/.install_node b/.evergreen/.install_node index d96e2533f..0c538c747 100644 --- a/.evergreen/.install_node +++ b/.evergreen/.install_node @@ -15,7 +15,7 @@ else nvm install $NODE_JS_VERSION nvm alias default $NODE_JS_VERSION - npm install -g npm@latest + npm install -g npm@6 fi . "$BASEDIR/.setup_env" diff --git a/.evergreen/InstallNode.ps1 b/.evergreen/InstallNode.ps1 index 5119c056a..45116d582 100644 --- a/.evergreen/InstallNode.ps1 +++ b/.evergreen/InstallNode.ps1 @@ -23,4 +23,4 @@ Remove-Item .\npm.cmd Remove-Item .\npx Remove-Item .\npx.cmd Move-Item .\node_modules\npm -Destination .\node_modules\npm2 -.\node.exe .\node_modules\npm2\bin\npm-cli.js i -g npm@latest +.\node.exe .\node_modules\npm2\bin\npm-cli.js i -g npm@6