We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a95f3cd commit 259f75eCopy full SHA for 259f75e
.evergreen/setup-env.sh
@@ -69,7 +69,14 @@ fi
69
70
# On RHEL hosts, we run as root for some reason
71
if [ `uname` = Linux ]; then
72
- export npm_config_unsafe_perm=true
+ export npm_config_unsafe_perm=true
73
+ if [ "$NODE_JS_MAJOR_VERSION" = "24" ] ; then
74
+ # This is a temporary fix until we upgrade our toolkit to 24.11+
75
+ # More info: https://github.com/mongodb-js/devtools-toolchain/pull/10
76
+ export NODE_OPTIONS="$NODE_OPTIONS --jitless"
77
+ echo "[WARNING] Using jitless v8."
78
+ echo "[WARNING] NODE_OPTIONS: $NODE_OPTIONS"
79
+ fi
80
fi
81
82
# npm@7 changed the behavior to run install scripts for packages
0 commit comments