Error npm test on MacOs Sierra
Created by: manuelitox
Hey there,
I can't run with success the npm test
command:
❯ npm test
> react-scripts test --env=jsdom
Determining test suites to run...2016-10-07 11:38 node[873] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-10-07 11:38 node[873] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
events.js:160
throw er; // Unhandled 'error' event
^
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:953:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1400:11)
npm ERR! Test failed. See above for more details.
Environment
Run these commands in the project folder and fill in their results:
-
npm ls react-scripts
:react-scripts@0.6.1
-
node -v
:v6.7.0
-
npm -v
:3.10.3
- Operating system: MacOs Sierra
Any idea?