-
-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run test gives error #6798
Comments
Does anyone know why watchman is suddenly required? |
@tim-rohrer I think this is the relevant issue, or maybe the jest issue it links to. |
As I understand things, and am experiencing on my system, this is the more relevant issue. However, in my situation, I'm not on Sierra nor have I been for years. But, installing But, it still isn't clear to me what is actually requiring |
I think jest uses watchman when it's globally installed. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. |
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes.
NPM version - 6.9.0
Which terms did you search for in User Guide?
Running tests
Environment
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i5-5575R CPU @ 2.80GHz
Binaries:
Node: 8.11.3 - /usr/local/bin/node
npm: 6.9.0 - /usr/local/bin/npm
Browsers:
Chrome: 73.0.3683.86
Firefox: 66.0.2
Safari: 11.1.2
npmPackages:
react: ^16.4.2 => 16.8.6
react-dom: ^16.4.2 => 16.8.6
react-scripts: 1.1.5 => 1.1.5
npmGlobalPackages:
create-react-app: Not Found
Steps to Reproduce
(Write your steps here:)
Expected Behavior
Expected to run App.test.js . and give appropriate results.
Actual Behavior
node[1714] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
Getting this error. I haven't added any libraries yet. This is the first time I'm trying out testing and have been blocked in the first stage itself. Not able to figure out what the issue actually means.
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
Would also like to mention that there is another create-react-app project with a higher version
in my system. But
npm test
is working fine as expected. So I believe this is not a system specific issue as the environments for both projects are same.The text was updated successfully, but these errors were encountered: