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

Error: ENOENT: no such file or directory, open 'node_modules/eslint-plugin-jest/lib/index.js' #270

Closed
arkaydeus opened this issue May 22, 2019 · 7 comments
Labels

Comments

@arkaydeus
Copy link

Tried using 22.6.2 but got:
#268

So downgraded to 22.5.1 and get the following:

Error: ENOENT: no such file or directory, open '/home/user/project/bfrc2/node_modules/eslint-plugin-jest/lib/index.js'
    at Object.fs.openSync (fs.js:577:3)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:166:20)
    at Object.fs.readFileSync (fs.js:483:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:563:29)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:721:20)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
@arkaydeus arkaydeus changed the title Error: ENOENT: no such file or directory, open '/home/user/project/bfrc2/node_modules/eslint-plugin-jest/lib/index.js' Error: ENOENT: no such file or directory, open 'node_modules/eslint-plugin-jest/lib/index.js' May 22, 2019
@tmorehouse
Copy link

#266

You'll need to downgrade to 22.5.1

@SimenB SimenB closed this as completed in 1ce1402 May 22, 2019
@SimenB
Copy link
Member

SimenB commented May 22, 2019

Should be a new release whenever https://www.githubstatus.com/incidents/nf4gcjtcsqdb is gone

@SimenB
Copy link
Member

SimenB commented May 22, 2019

🎉 This issue has been resolved in version 22.6.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@arkaydeus
Copy link
Author

Thanks!

@AndyOGo
Copy link

AndyOGo commented Sep 9, 2019

EDIT: Sorry for the noise, just had to reinstall the Eslint plugin of VSCode 😕

I get a similar error with "eslint-plugin-jest": "^22.17.0",:

ESLint: ENOENT: no such file or directory, open './aletheia/node_modules/eslint-plugin-jest/index.js'. Please see the 'ESLint' output channel for details.

@SimenB
Copy link
Member

SimenB commented Sep 9, 2019

I don't know what tries to access that file - main points to lib:

"main": "lib/",

Please open up a new issue with a reproduction if it's still an issue

@AndyOGo
Copy link

AndyOGo commented Sep 9, 2019

@SimenB Thanks for your reply, I just edited my comment above.
All fine, had to re-install the ESLint plugin for VSCode 😕

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

No branches or pull requests

4 participants