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
npm ERR! enoent ENOENT: no such file or directory, rollup/dist/bin/rollup.js #3029
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Folks, please use the reaction buttons (thumbs up, etc) to express support for an issue. Following up with a "same error" reply doesn't help with triage or resolving the issue. |
This comment has been minimized.
This comment has been minimized.
Current workaround:
|
I confirm the bin points to an invalid file, probably broken by #3020 |
Fix upcoming, sorry. I moved the location of the bin file and accidentally added a ' .js' extension, which was later removed except in the package.json file. |
@lukastaegert, you were too fast to merge your PR, it still won't work. Kindly check the comments! |
Follow up to rollup#3031 Fixes rollup#3029
This should fix it #3032 |
Should be fixed now, sorry for the inconvenience! |
It may just be my strange configuration (have multiple rollup versions as dev deps for testing) but the bin file still isn't added when installing via Yarn for me. Can anyone confirm 1.19.2 is working with Yarn? Correction: |
maybe? |
Actually I just confirmed that it is indeed due to my specific case. |
How Do We Reproduce?
Try and install rollup locally:
npm install --global rollup
Expected Behavior
Actual Behavior
npm ERR! path /node_modules/rollup/dist/bin/rollup.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/node_modules/rollup/dist/bin/rollup.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
The text was updated successfully, but these errors were encountered: