question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v4.2.0 can't be installed because index.js is missing

See original GitHub issue

The 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:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
luftywiranda13commented, Oct 20, 2017

@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, and files field, right?

2reactions
luftywiranda13commented, Sep 15, 2017

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found