Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 484 Bytes

2016-10-20-what-to-check-when-react-native-npm-start-and-jest-dont-work.md

File metadata and controls

7 lines (4 loc) · 484 Bytes

What to check when React Native npm start and Jest don't work

There seems to be a problem with watchman where it leaves its own files in an invalid state and doesn't know how to clean up after itself, making all programs relying on it to just hang.

The solution I've found to this is to remove everything inside /usr/local/var/run/watchman/${YOUR_USER}-state.

So the next time jest and npm start in your React Native projects just freezes, I know where I'm looking first.