Skip to content

Commit

Permalink
Add better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Oct 23, 2024
1 parent 7908210 commit d2a3e3f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .evergreen/install-npm-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ set -e
set -x

if [[ "${DISTRO_ID}" =~ ^(rhel|ubuntu1804) ]]; then
# force because of issues with peer deps and semver pre-releases,
# install rather than ci because `npm ci` can only install packages when your
# package.json and package-lock.json or npm-shrinkwrap.json are in sync.
# NOTE: this won't work on some more exotic platforms because not every dep
# can be installed on them. That's why we only run on linux x64 platforms when
# we set MONOGDB_DRIVER_VERSION_OVERRIDE=nightly in CI
# RHEL and Ubuntu 18.04 use Python 3.6 which isn't supported by newer node-gyp versions
npm i node-gyp@9 --verbose --force
fi

Expand Down

0 comments on commit d2a3e3f

Please sign in to comment.