- update npm version to 9.6.7

This commit is contained in:
denihs
2023-09-01 09:23:40 -04:00
parent 2c1e703cdf
commit adfce86199
4 changed files with 7 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ ARCH=$(uname -m)
NODE_VERSION=18.16.0
MONGO_VERSION_64BIT=6.0.3
MONGO_VERSION_32BIT=3.2.22
NPM_VERSION=8.19.4
NPM_VERSION=9.6.7
if [ "$UNAME" == "Linux" ] ; then

View File

@@ -10,7 +10,7 @@ var packageJson = {
dependencies: {
// Explicit dependency because we are replacing it with a bundled version
// and we want to make sure there are no dependencies on a higher version
npm: "8.19.4",
npm: "9.6.7",
"node-gyp": "8.0.0",
"node-pre-gyp": "0.15.0",
typescript: "4.9.4",

View File

@@ -95,9 +95,10 @@ cd "$DIR/lib"
# Overwrite the bundled version with the latest version of npm.
npm install "npm@$NPM_VERSION"
# Starting from npm v9.5.1 we can't set the python (and many others) config
# https://github.com/npm/cli/issues/6126 - the workaround for now is to keep
# on npm v8.19.4
npm config set python `which python3`
# https://github.com/npm/cli/issues/6126
# for now we'll not set it anymore and see if it works
# if it doesn't, we can set python3 in other ways
#npm config set python `which python3`
which node
which npm
npm version

View File

@@ -36,7 +36,7 @@ var meteorNpm = exports;
const LOCK_FILE_VERSION = 4;
// Expose the version of npm in use from the dev bundle.
meteorNpm.npmVersion = "8.19.4";
meteorNpm.npmVersion = "9.6.7";
// if a user exits meteor while we're trying to create a .npm
// directory, we will have temporary directories that we clean up