Error: EMFILE: too many open files when require external dependencies
See original GitHub issue$ cypress run
Started video recording: /foo/figtf.mp4
(Tests Starting)
Oops...we found an error preparing this test file:
/foo/cypress/integration/foo_spec.js
The error was:
Error: EMFILE: too many open files, open '/foo/node_modules/ramda/package.json'
This occurred while Cypress was compiling and bundling your test code. This is usually caused by:
* A missing file or dependency
* A syntax error in the file or one of its dependencies
Fix the error in your code and re-run your tests.
(Tests Finished)
- Tests: 0
- Passes: 0
- Failures: 1
- Pending: 0
- Duration: 0 seconds
- Screenshots: 0
- Video Recorded: true
- Cypress Version: 0.18.4
Oops...we found an error preparing this test file:
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
node and Error: EMFILE, too many open files - Stack Overflow
I used this command to test the number of files that were opened after doing various events in my app. lsof -i -n...
Read more >React Native + Jest EMFILE: too many open files error-Reactjs
I'm running windows in powershell. Also used Git Bash and had similar problems. I updated my package.json as follows: "devDependencies": { "jest-cli" ...
Read more >Troubleshooting | Vite Ruby
Verify that both vite and vite-plugin-ruby are in devDependencies in your ... if you are seeing errors such as #<Errno::EMFILE: Too many open...
Read more >Error: Too many open files | AEM | Adobe Experience Cloud
Or the application requires more open files than is permitted by the process. The solution to this problem is: Find out what is...
Read more >filequeue-gliph - npm Package Health Analysis - Snyk
Drop-in Replacement for fs that avoids Error: EMFILE, too many open files . As of version 0.4.0, Filequeue supports Node 0.10.x, and as...
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
Fixed in
0.19.1
.Same error happens here when I require others dependencies like lodash, axios, etc.