Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Npm start error

Starting the development server...

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

Error: ENOSPC: System limit for number of file watchers reached, watch '/home/thiagod/python/react-app/my-app/public'
    at FSWatcher.start (internal/fs/watchers.js:165:26)
    at Object.watch (fs.js:1274:11)
    at createFsWatchInstance (/home/thiagod/python/react-app/my-app/node_modules/chokidar/lib/nodefs-handler.js:38:15)
    at setFsWatchListener (/home/thiagod/python/react-app/my-app/node_modules/chokidar/lib/nodefs-handler.js:81:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/thiagod/python/react-app/my-app/node_modules/chokidar/lib/nodefs-handler.js:233:14)
    at FSWatcher.NodeFsHandler._handleDir (/home/thiagod/python/react-app/my-app/node_modules/chokidar/lib/nodefs-handler.js:429:19)
    at FSWatcher.<anonymous> (/home/thiagod/python/react-app/my-app/node_modules/chokidar/lib/nodefs-handler.js:477:19)
    at FSWatcher.<anonymous> (/home/thiagod/python/react-app/my-app/node_modules/chokidar/lib/nodefs-handler.js:482:16)
    at FSReqCallback.oncomplete (fs.js:159:5)
Emitted 'error' event at:
    at FSWatcher._handleError (/home/thiagod/python/react-app/my-app/node_modules/chokidar/index.js:260:10)
    at createFsWatchInstance (/home/thiagod/python/react-app/my-app/node_modules/chokidar/lib/nodefs-handler.js:40:5)
    at setFsWatchListener (/home/thiagod/python/react-app/my-app/node_modules/chokidar/lib/nodefs-handler.js:81:15)
    [... lines matching original stack trace ...]
    at FSReqCallback.oncomplete (fs.js:159:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-app@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the my-app@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/thiagod/.npm/_logs/2019-05-30T13_57_24_352Z-debug.log

Como resolvo isso ?

2 respostas
solução!

Olá, Thiago! Tudo bom?

Qual sistema operacional você está usando?

Achei essa solução que provavelmente resolva o seu problema, se puder testar.

Se não funcionar, me avisa para tentarmos encontrar outra solução.

Abraços

Olá, bom dia. Estou usando ubuntu 18.04, deu certo!