Closed
Bug 1417175
Opened 7 years ago
Closed 7 years ago
npm-shrinkwrap.json is generated differently depending on the npm version
Categories
(Developer Infrastructure :: Lint and Formatting, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: standard8, Unassigned)
References
Details
When I did the latest update to ESLint, I generated npm-shrinkwrap from npm version 5.5.1. If it is generated from pre-5.4.0, then there are differences.
STR
1) rm -r node_modules
2) npm install -g npm@<version>
(replace <version> with the version under test).
3) npm install
4) git diff
Results
-> If using pre-5.4.0, then the location of "string_decoder" is different within the file.
-> If using 5.4.0 or later, then there are no differences.
Reporter | ||
Comment 1•7 years ago
|
||
I'm not sure there's much we can do here, except encourage developers to upgrade to newer versions. We could bump the minimum npm version in setup_helper.py, but I'm not sure we want to do that this soon - these are fairly recent releases.
On the plus side, brew is shipping 5.5.1, as is the latest version of MozillaBuild.
Updated•7 years ago
|
Product: Testing → Firefox Build System
Reporter | ||
Comment 3•7 years ago
|
||
Since we landed the bump to 5.5.1 as the minimum version, this is a lot better now. There's still bug 1465164 at issue, so there's a potential minor issue with npm itself, but I think we can close this one out for now.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Version: Version 3 → 3 Branch
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•