Localhost:3000 refuse to connect when i try to run npm start in terminal


(Zaid Sheriff) #1

events.js:167
throw er; // Unhandled ‘error’ event
^

Error: ENOSPC: System limit for number of file watchers reached, watch ‘/var/www/html/tutorial/public’
at FSWatcher.start (internal/fs/watchers.js:165:26)
at Object.watch (fs.js:1254:11)
at createFsWatchInstance (/var/www/html/tutorial/node_modules/chokidar/lib/nodefs-handler.js:37:15)
at setFsWatchListener (/var/www/html/tutorial/node_modules/chokidar/lib/nodefs-handler.js:80:15)
at FSWatcher.NodeFsHandler._watchWithNodeFs (/var/www/html/tutorial/node_modules/chokidar/lib/nodefs-handler.js:232:14)
at FSWatcher.NodeFsHandler._handleDir (/var/www/html/tutorial/node_modules/chokidar/lib/nodefs-handler.js:414:19)
at FSWatcher. (/var/www/html/tutorial/node_modules/chokidar/lib/nodefs-handler.js:462:19)
at FSWatcher. (/var/www/html/tutorial/node_modules/chokidar/lib/nodefs-handler.js:467:16)
at FSReqWrap.oncomplete (fs.js:155:5)
Emitted ‘error’ event at:
at FSWatcher._handleError (/var/www/html/tutorial/node_modules/chokidar/index.js:260:10)
at createFsWatchInstance (/var/www/html/tutorial/node_modules/chokidar/lib/nodefs-handler.js:39:5)
at setFsWatchListener (/var/www/html/tutorial/node_modules/chokidar/lib/nodefs-handler.js:80:15)
[… lines matching original stack trace …]
at FSReqWrap.oncomplete (fs.js:155:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tutorial@0.1.0 start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tutorial@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/dckap/.npm/_logs/2019-01-13T10_40_27_506Z-debug.log


(system) #2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.