-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Tests hang when running #713
Comments
By "hangs" do you mean that interactive watcher never appears? |
As mentioned in jestjs/jest#1767 (comment), can you try running
? |
@gaearon yes, as the log above, I see |
I meant to run this command to update it to 4.7.0 (as explained in jestjs/jest#1767 (comment)). |
I do have watchmen 4.7.0 installed |
I see. Can you reproduce this on any other computer (with or without Sierra)? |
I think it would be best if you shared your report in jestjs/jest#1767 to provide more context around this issue. |
It’s also worth trying to uninstall watchmen and seeing if that fixes the issue. |
uninstall watchman fixed! |
Can you try to install it again now and see if the problem persists? If it does, please also try suggestions in jestjs/jest#1767 (comment) and let us know if either worked. |
Just did, yes, the problem persists if I reinstall. |
Does doing this help?
(and then run tests) |
Another workaround worth trying is to delete |
Closing as this is a problem with watchman, and can’t be resolved here. Uninstalling watchman is a reasonable workaround in the meantime. |
Hey, sorry for the delay. |
I’d appreciate if you could report this upstream to Jest or watchman. |
I ran into this and it took me a while to find this issue. --> Can we mention this in the docs somewhere? |
Sure, a PR to the User Guide with troubleshooting steps would be welcome. |
A few other reported ways to fix it: |
Minor additional information on how to solve watchman problems reported in facebook#713 and facebook#1767
Add better explanation how to solve facebook#713 and linked related Issues.
* Add a note for OSX users about watchman and jest Minor additional information on how to solve watchman problems reported in facebook#713 and facebook#1767 * Introduced new Troubleshooting section Add better explanation how to solve facebook#713 and linked related Issues. * Tweak wording and add it to TOC
* Add a note for OSX users about watchman and jest Minor additional information on how to solve watchman problems reported in facebook#713 and facebook#1767 * Introduced new Troubleshooting section Add better explanation how to solve facebook#713 and linked related Issues. * Tweak wording and add it to TOC
* Add a note for OSX users about watchman and jest Minor additional information on how to solve watchman problems reported in facebook#713 and facebook#1767 * Introduced new Troubleshooting section Add better explanation how to solve facebook#713 and linked related Issues. * Tweak wording and add it to TOC
I have a test like this:
when I run it, with
npm t
it hangs. here is the outputI'm running macOS Sierra with.
I can reproduce it with a new app as well.
the react-scripts:
The text was updated successfully, but these errors were encountered: