-
-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Closed
Description
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
Yes.
Which terms did you search for in User Guide?
npm test
It is not the same as the problem described under npm test hangs on macOS Sierra.
Environment
node -v: v7.9.0npm -v: 4.2.0yarn --version(if you use Yarn):npm ls react-scripts(if you haven’t ejected):
└── [email protected]
Then, specify:
- Operating system: macOS Sierra 10.12.6
- Browser and version (if relevant): Not relevant
I do not have watchman installed.
Steps to Reproduce
- create-react-app foo
- cd foo
- npm test
Expected Behavior
I expect the tests to run.
Actual Behavior
Output is:
RUNS src/App.test.js
2017-08-25 10:01 node[90950] (FSEvents.framework) FSEventStreamStart: register_w
RUNS src/App.test.js
2017-08-25 10:01 node[90950] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
events.js:163
throw er; // Unhandled 'error' event
^
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1050:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1376:11)
npm ERR! Test failed. See above for more details.
Reproducible Demo
See above steps to reproduce.
Workaround
Downgrading to "react-scripts": "1.0.10" fixes the problem.
mutewinter, angie, amaidah and drwpow
Metadata
Metadata
Assignees
Labels
No labels