New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error installing package in Node 14.x #1207
Comments
This seems to be an issue with @npmcli/installed-package-contents - have reported this here npm/installed-package-contents#24. Leaving this issue for visibility. |
I think it might arguably be a "breaking-change-in-a-patch-release" problem with pacote - installing pacote@15.0.0 works fine on npm@6; but pactoe@15.0.1 does not. In that patch version they pulled in a new major version of installed-package-contents |
If I had to guess this is an existing bug in npm 6 that is now being raised because of a dependency that was previously hoisted now not being hoisted. I don't know if it's a bug in any of these dependencies, the "breaking changes" were in the |
I have downgraded pacote to Try the latest npm-check-updates @ |
Issue has been fixed in dependencies and dependency chain has been updated. Published in |
npm-check-updates
node >= 14.14
Steps to Reproduce
npx npm-check-updates
(also true when installing globallynpm install -g npm-check-updates
)Dependencies:
Steps:
Current Behaviour
Error unable to find file in dependency - @npmcli/installed-package-contents/index.js
Expected Behaviour
npm-check-updates installs correctly
The text was updated successfully, but these errors were encountered: