Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTests hang when running #713
Comments
|
By "hangs" do you mean that interactive watcher never appears? |
|
As mentioned in facebook/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 facebook/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 facebook/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 facebook/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
* 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 tit hangs. here is the outputI'm running macOS Sierra with.
I can reproduce it with a new app as well.
the react-scripts: