question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Watchman was not found

See original GitHub issue

Hello everyone, I am new to react-native. I have already installed watchman using npm but still facing this problem. Also tried some manual installation process for watchman but no luck.

[01/05/2017, 12:56:42] <START> Initializing Packager
Watchman:  Watchman was not found in PATH.  See https://facebook.github.io/watchman/docs/install.html for installation instructions
[01/05/2017, 12:56:42]         HMR Server listening on /hot

React packager ready.

jest-haste-map: Watchman crawl failed. Retrying once with node crawler.
  Usually this happens when watchman isn't running. Create an empty `.watchmanconfig` file in your project's root folder or initialize a git or hg repository in your project.
  Error: Watchman was not found in PATH.  See https://facebook.github.io/watchman/docs/install.html for installation instructions
Watchman:  Watchman was not found in PATH.  See https://facebook.github.io/watchman/docs/install.html for installation instructions
 ERROR  Watchman was not found in PATH.  See https://facebook.github.io/watchman/docs/install.html for installation instructions
{"code":"ENOENT","errno":"ENOENT","syscall":"spawn watchman","path":"watchman","spawnargs":["--no-pretty","get-sockname"]}
Error: Watchman was not found in PATH.  See https://facebook.github.io/watchman/docs/install.html for installation instructions
    at exports._errnoException (util.js:1026:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:359:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

See http://facebook.github.io/react-native/docs/troubleshooting.html

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

16reactions
vonovakcommented, Jan 5, 2017

the message is fairly clear: Error: Watchman was not found in PATH. try to google for it, I’m sure you’ll find something

6reactions
tirumalavasucommented, Dec 25, 2017

On mac, try to uninstall watchman and install with homebrew. npm uninstall -g watchman brew update brew install watchman

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation | Watchman - Meta Open Source
Watchman relies on the operating system facilities for file notification, which means that you will likely have very poor results using it on...
Read more >
the command `brew install watchman` runs `chmod` but fails ...
I tried to uninstall watchman and reinstall with this command to get a react-native to start working. Followed steps here: https://github.com/facebook/react- ...
Read more >
Find a WATCHMAN Medical Center
Find a medical center performing the WATCHMAN Implant procedure near you. ... There may be additional medical centers in your area that are...
Read more >
fb-watchman - npm
Bindings for the Watchman file watching service. Latest version: 2.0.2, last published: 3 months ago. Start using fb-watchman in your ...
Read more >
Installing via automated deployment or command line
Watchman Monitoring requires the Python Framework to be installed as part of the Monitoring Client. The Python Framework can be optionally ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found