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

npm run start error #5

Open
YerongLi opened this issue Jun 17, 2023 · 0 comments
Open

npm run start error #5

YerongLi opened this issue Jun 17, 2023 · 0 comments

Comments

@YerongLi
Copy link

This is one of the best discord clone I have seen online, however I met an issue starting the server

Could anyone help me with this?

$ npm run start
Starting the development server...

events.js:353
      throw er; // Unhandled 'error' event
      ^

Error: ENOSPC: System limit for number of file watchers reached, watch '/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/public'
    at FSWatcher.<computed> (internal/fs/watchers.js:218:26)
    at Object.watch (fs.js:1582:34)
    at createFsWatchInstance (/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:38:15)
    at setFsWatchListener (/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:81:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:233:14)
    at FSWatcher.NodeFsHandler._handleDir (/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:429:19)
    at FSWatcher.<anonymous> (/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:477:19)
    at FSWatcher.<anonymous> (/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:482:16)
    at FSReqCallback.oncomplete (fs.js:193:5)
Emitted 'error' event on FSWatcher instance at:
    at FSWatcher._handleError (/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/node_modules/webpack-dev-server/node_modules/chokidar/index.js:260:10)
    at createFsWatchInstance (/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:40:5)
    at setFsWatchListener (/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:81:15)
    [... lines matching original stack trace ...]
    at FSReqCallback.oncomplete (fs.js:193:5) {
  errno: -28,
  syscall: 'watch',
  code: 'ENOSPC',
  path: '/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/public',
  filename: '/home/yerong/Documents/Graph_Toolformer/tmp/discord-clone-master-routing/public'
}

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

1 participant