sunfmin / notebook

My Note Book
2 stars 0 forks source link

FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22) #31

Open sunfmin opened 7 years ago

sunfmin commented 7 years ago

FeliMac:ui sunfmin$ npm run test

> ui@0.1.0 test /Users/sunfmin/gopkg/src/github.com/theplant/qor-exchange-gsheet/gappscripts/ui
> react-scripts test --env=jsdom

2017-09-18 15:04 node[4862] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2017-09-18 15:04 node[4862] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2017-09-18 15:04 node[4862] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: Error watching file for changes: EMFILE
    at _errnoException (util.js:1026:11)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1360:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ui@0.1.0 test: `react-scripts test --env=jsdom`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ui@0.1.0 test 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!     /Users/sunfmin/.npm/_logs/2017-09-18T07_04_22_800Z-debug.log

https://github.com/facebookincubator/create-react-app/issues/871

It solved after install watchman

brew install watchman