Skip to content

Commit 4d7abf9

Browse files
authored
chore(NODE-4500): fix npm issue on windows (#3343)
1 parent 1922883 commit 4d7abf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.evergreen/install-dependencies.sh

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ EOT
9191
nvm use "$NODE_VERSION"
9292
which node || echo "node not found, PATH=$PATH"
9393
which npm || echo "npm not found, PATH=$PATH"
94+
npm cache clear --force # Fixes: Cannot read properties of null (reading 'pickAlgorithm') error on windows
9495
npm config set msvs_version ${MSVS_VERSION}
9596
npm config set scripts-prepend-node-path true
9697

0 commit comments

Comments
 (0)