Skip to content

Commit b9dc89b

Browse files
authored
chore: fix windows nvm version issue (#3211)
1 parent 5e730ff commit b9dc89b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.evergreen/install-dependencies.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -o errexit # Exit the script with error if any of the commands fail
33

4-
NVM_WINDOWS_URL="https://github.com/coreybutler/nvm-windows/releases/download/1.1.7/nvm-noinstall.zip"
4+
NVM_WINDOWS_URL="https://github.com/coreybutler/nvm-windows/releases/download/1.1.9/nvm-noinstall.zip"
55
NVM_URL="https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh"
66

77
NODE_LTS_NAME=${NODE_LTS_NAME:-erbium}
@@ -109,4 +109,5 @@ tmp=${NPM_TMP_DIR}
109109
EOT
110110
fi
111111

112-
npm install --unsafe-perm
112+
npm i --force --global npm
113+
npm install

0 commit comments

Comments
 (0)