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

same error but at different stage . I couldn't even start the server #14789

Closed
akashkrshukla opened this issue Jun 14, 2019 · 2 comments
Closed

Comments

@akashkrshukla
Copy link

Summary

Relevant information

Environment (if relevant)

File contents (if changed)

gatsby-config.js: N/A
package.json: N/A
gatsby-node.js: N/A
gatsby-browser.js: N/A
gatsby-ssr.js: N/A

here is my error code

Looking for JS files in
/home/akash/appme

Loading dependency graph...internal/fs/watchers.js:173
throw error;
^

Error: ENOSPC: System limit for number of file watchers reached, watch '/home/akash/appme/node_modules/jest-jasmine2/node_modules'
at FSWatcher.start (internal/fs/watchers.js:165:26)
at Object.watch (fs.js:1270:11)
at NodeWatcher.watchdir (/home/akash/appme/node_modules/sane/src/node_watcher.js:159:22)
at Walker. (/home/akash/appme/node_modules/sane/src/common.js:109:31)
at Walker.emit (events.js:200:13)
at /home/akash/appme/node_modules/walker/lib/walker.js:69:16
at go$readdir$cb (/home/akash/appme/node_modules/graceful-fs/graceful-fs.js:162:14)
at FSReqCallback.oncomplete (fs.js:153:23) {
errno: -28,
syscall: 'watch',
code: 'ENOSPC',
path: '/home/akash/appme/node_modules/jest-jasmine2/node_modules',
filename: '/home/akash/appme/node_modules/jest-jasmine2/node_modules'
}

@akashkrshukla akashkrshukla changed the title same error but at different stage same error but at different stage . I couldn't even start the server Jun 14, 2019
@romach
Copy link

romach commented Jun 14, 2019

@akashkrshukla did you try this solution #11406 (comment)?

@sidharthachatterjee
Copy link
Contributor

@akashkrshukla ENOSPC: System limit for number of file watchers reached is thrown when your system's file watchers limit is hit. The solution @romach linked to should work.

Closing this for now. Please feel free to reopen if that doesn't help.

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

No branches or pull requests

3 participants