Jest doesn't run — hangs indefinitely

不想你离开。 提交于 2019-12-06 16:40:16

I was getting the same issue as well. It can be fixed be updating or reinstalling watchman brew uninstall watchman & brew install watchman.

More details can be found here https://github.com/facebook/jest/issues/4529

I'm not sure WHY this worked, but it did. I reinstalled some global packages on my system:

npm update npm -g (to 6.9.0)

npm update -g  

this updated: parcel-bundler to 1.12.3

updated watchman: brew update watchman (to 4.9.0)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!