-
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=
1.
|
bson 5.x chore: npmrc modifies global prefix which is incompatible with nvm | NODE-5329 |
|
Closed | Bailey Pearson | bson-5.4.0 |
2.
|
bson 4.x | NODE-5330 |
|
Closed | Unassigned | |
3.
|
libmongocrypt | NODE-5331 |
|
Closed | Bailey Pearson | mongodb-client-encryption-6.0.0 |
4.
|
kerberos | NODE-5332 |
|
Closed | Bailey Pearson | kerberos-2.0.2 |
5.
|
driver 5.x | NODE-5333 |
|
Closed | Bailey Pearson | 5.7.0 |
6.
|
driver 4.x | NODE-5334 |
|
Closed | Bailey Pearson | 4.17.0 |
7.
|
Sync changes to driver main | NODE-5345 |
|
Closed | Bailey Pearson | 5.7.0 |