Skip to content

Commit 8557533

Browse files
committed
Try without replace
1 parent adb320a commit 8557533

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.evergreen/install-npm-deps.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,16 @@ set -x
33

44
echo "DISTRO ID: ${DISTRO_ID}"
55
if [[ "${DISTRO_ID}" =~ ^(rhel) ]]; then
6-
export REPLACE_PACKAGE="node-gyp:9.0.0"
7-
npm run replace-package
86
# force because of issues with peer deps and semver pre-releases,
97
# install rather than ci because `npm ci` can only install packages when your
108
# package.json and package-lock.json or npm-shrinkwrap.json are in sync.
119
# NOTE: this won't work on some more exotic platforms because not every dep
1210
# can be installed on them. That's why we only run on linux x64 platforms when
1311
# we set MONOGDB_DRIVER_VERSION_OVERRIDE=nightly in CI
14-
npm i --verbose --force
15-
else
16-
npm ci --verbose
12+
npm i node-gyp@9 --verbose --force
1713
fi
1814

15+
npm ci --verbose
1916
echo "MONOGDB_DRIVER_VERSION_OVERRIDE:$MONOGDB_DRIVER_VERSION_OVERRIDE"
2017

2118
# if MONOGDB_DRIVER_VERSION_OVERRIDE is set, then we want to replace the package version

0 commit comments

Comments
 (0)