Starting the development server...
/home/justice/Desktop/testing/testing/node_modules/react-scripts/scripts/start.js:19
throw err;
^
Error: ENOSPC: System limit for number of file watchers reached, watch '/home/justice/Desktop/testing/testing/public'
at FSWatcher.<computed> (internal/fs/watchers.js:243:19)
at Object.watch (fs.js:1586:34)
at createFsWatchInstance (/home/justice/Desktop/testing/testing/node_modules/chokidar/lib/nodefs-handler.js:119:15)
at setFsWatchListener (/home/justice/Desktop/testing/testing/node_modules/chokidar/lib/nodefs-handler.js:166:15)
at NodeFsHandler._watchWithNodeFs (/home/justice/Desktop/testing/testing/node_modules/chokidar/lib/nodefs-handler.js:331:14)
at NodeFsHandler._handleDir (/home/justice/Desktop/testing/testing/node_modules/chokidar/lib/nodefs-handler.js:567:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async NodeFsHandler._addToNodeFs (/home/justice/Desktop/testing/testing/node_modules/chokidar/lib/nodefs-handler.js:617:16)
at async /home/justice/Desktop/testing/testing/node_modules/chokidar/index.js:451:21
at async Promise.all (index 0)
Emitted 'error' event on FSWatcher instance at:
at FSWatcher._handleError (/home/justice/Desktop/testing/testing/node_modules/chokidar/index.js:647:10)
at NodeFsHandler._addToNodeFs (/home/justice/Desktop/testing/testing/node_modules/chokidar/lib/nodefs-handler.js:645:18)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async /home/justice/Desktop/testing/testing/node_modules/chokidar/index.js:451:21
at async Promise.all (index 0) {
errno: -28,
syscall: 'watch',
code: 'ENOSPC',
path: '/home/justice/Desktop/testing/testing/public',
filename: '/home/justice/Desktop/testing/testing/public'
}
Asked
Active
Viewed 31 times
0
karel
- 4,637
- 41
- 42
- 47
-
Try this: https://stackoverflow.com/a/55411444/8890700 – Damian Cyntler May 08 '22 at 12:55