Skip to content
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

[email protected] cannot be installed without package-lock.json #79

Open
everett1992 opened this issue Jan 22, 2024 · 0 comments
Open

Comments

@everett1992
Copy link

$ npm init -y
$ npm install union
npm ERR! code 1
npm ERR! path /home/ANT.AMAZON.COM/calebev/tmp/node_modules/union
npm ERR! command failed
npm ERR! command sh -c npx npm-force-resolutions
npm ERR! npm WARN exec The following package was not found and will be installed: [email protected]
npm ERR! Error: ENOENT: no such file or directory, open './package-lock.json'

This is a bug in npm-force-resolutions, but the issues have been open for a while and the last commit was 3 years ago so I don't think it will be fixed.

union could use npm 8's overrides, or use force-resolutions, or npm-force-resolutions || true.

rogeriochaves/npm-force-resolutions#10
rogeriochaves/npm-force-resolutions#36
rogeriochaves/npm-force-resolutions#66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant