v4.2.0 can't be installed because index.js is missing
See original GitHub issueThe latest release v4.2.0 is broken:
npm ERR! path /Users/tim/[...]/node_modules/lint-staged/index.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/tim/[...]/node_modules/lint-staged/index.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I think this can only be fixed by releasing a new patch version, which includes the index.js
.
CC @okonet
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Error while building with webpack · Issue #417 - GitHub
I tried building with webpack. index.js const FileType = require('file-type/browser'); webpack.config.js const path = require('path'); ...
Read more >React JS npm start shows failed to compile web-vitals
You need to install web vitals. Open your terminal and run the following command: npm i web-vitals --save-dev.
Read more >Troubleshooting | React Navigation
Sometimes it might even be due to a corrupt installation. If clearing cache didn't work, try deleting your node_modules folder and run npm...
Read more >How to fix "The following module is missing from the file ...
Then either go to the Modules page and disable/uninstall it from there, or use Drush ( drush dis module_name && drush pm-uninstall module_name...
Read more >How to fix 'Module not found: Can't resolve 'http' in ... - YouTube
Basically, just change 'react-scripts' to 4.0. 2 in your package.json and run `npm install ` again :D Follow me on Twitter: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@okonet it’s a nice tool, but I think it’s already covered by our ESLint and it’s enough. I also think that we barely change our
main
,bin
, andfiles
field, right?It’s just a regular houskeeping I did in #250 (no feature added, no API changed) I just missed the
index.js
✌️ 😞a new patch version should be released soon!