Note: I am porting this issue over from the now archived npm.community with the hopes that this issue can get escalated and resolved as it looks like it has been largely overlooked up to this point. Maybe this issue can be set to resolved: true
馃槈
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.1.tgz",
"resolved": false,
resolved: false
for a number of packages.package-lock.json
for changesresolve
does not switch between false
and the URL.We've been encountering this quite frequently in WordPress/gutenberg lately.
Some possibly relevant additional details:
"optional": true
, or transitive dependencies of an "optional": true
(e.g. nopt
, node-pre-gyp
, fsevents
).package.json
defined as local filesystem dependencies.For anyone else encountering this problem: rm -rf node_modules/ && npm cache clean --force && npm install
helped in my case.
Most helpful comment
We've been encountering this quite frequently in WordPress/gutenberg lately.
Some possibly relevant additional details:
"optional": true
, or transitive dependencies of an"optional": true
(e.g.nopt
,node-pre-gyp
,fsevents
).package.json
defined as local filesystem dependencies.