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

Installation always fails #472

Closed
sounisi5011 opened this issue Mar 8, 2023 · 1 comment · Fixed by #473
Closed

Installation always fails #472

sounisi5011 opened this issue Mar 8, 2023 · 1 comment · Fixed by #473

Comments

@sounisi5011
Copy link

The bin field in the package.json file has the following values:

"bin": "./bin/check-package-dependencies.js",

However, the files that actually exist in the bin directory are check-package-dependencies.mjs.
Due to this filename mismatch, check-package-dependencies installations will always fail.

$ npm i -DE check-package-dependencies
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path $PROJECT_DIR/node_modules/check-package-dependencies/bin/check-package-dependencies.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '$PROJECT_DIR/node_modules/check-package-dependencies/bin/check-package-dependencies.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     $HOME/.npm/_logs/2023-03-08T16_16_17_288Z-debug.log
@christophehurpeau
Copy link
Owner

Thank you for this report :) Please confirm latest release fixes it for you 🙏

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

Successfully merging a pull request may close this issue.

2 participants