Error: ENOENT: no such file or directory, open 'node_modules/eslint-plugin-jest/lib/index.js'
See original GitHub issueTried using 22.6.2 but got: https://github.com/jest-community/eslint-plugin-jest/issues/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)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to resolve Nodejs: Error: ENOENT: no such file or directory
Your app is expecting to find a file at /home/embah/node/nodeapp/config/config.json but that file does not exist (which is what ENOENT ...
Read more >Error: ENOENT: no such file or directory, open 'libtaos.so' #2255
error Command failed with exit code 1.
Read more >ENOENT: no such file or directory" (Doc ID 2895246.1)
When Selecting "Optimize Application" VBS Package Job Fails With "Error: ENOENT: no such file or directory" (Doc ID 2895246.1).
Read more >Error: ENOENT: no such file or directory, scandir ... - YouTube
nodejsError: ENOENT : no such file or directory, scandir '**/node_modules/node-sass/vendor' | Module build failed (from .
Read more >Error: ENOENT: no such file or directory, open
Error : ENOENT: no such file or directory, open ... openSync (node:fs:488:3); at C:\Program Files\Visualizer\preview\thirdparty\r.js:28332:19 ...
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
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",
:@SimenB Thanks for your reply, I just edited my comment above. All fine, had to re-install the ESLint plugin for VSCode 😕