-
Type: Build Failure
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Summary
the Node.js CI download changes broke mongosh CI:
makes installations that do use nvm fail with
Your user's .npmrc file (${HOME}/.npmrc) has a `globalconfig` and/or a `prefix` setting, which are incompatible with nvm.
Mongosh could add something like rm -f ~/.npmrc to our scripts, but it would make sense to address this in the driver scripts, since it is leaving a global npm config with a prefix pointing to a path that no longer exists (because that path does get cleaned up between tasks, I assume)
NPM has env variables that can control the settings we need instead of needing to write an rc file: We should strive to use that.
export npm_config_prefix=
There are no Sub-Tasks for this issue.