Skip to content
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

Watchman errors with exit code=3221225781 #464

Closed
BrennanR opened this issue May 15, 2017 · 3 comments
Closed

Watchman errors with exit code=3221225781 #464

BrennanR opened this issue May 15, 2017 · 3 comments

Comments

@BrennanR
Copy link

I'm trying to use relay-compiler on windows, which seems to depend on watchman. I've followed the steps outlined here: #19 for windows support, yet I'm still running into this error. Windows, node, and npm version can be seen below.

> relay-compiler --src ./assets --schema schema.json

HINT: pass --watch to keep watching for changes.
Watchman:  watchman --no-pretty get-sockname returned with exit code=3221225781, signal=null, stderr= 
events.js:163
      throw er; // Unhandled 'error' event
      ^

Error: watchman --no-pretty get-sockname returned with exit code=3221225781, signal=null, stderr= 
    at ChildProcess.<anonymous> (C:\Users\Brennan\PycharmProjects\StockTracker\node_modules\fb-watchman\index.js:198:18)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Socket.<anonymous> (internal/child_process.js:342:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at Pipe._handle.close [as _onclose] (net.js:511:12)

npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "relay" "--scripts-prepend-node-path"
npm ERR! node v7.10.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! stock-tracker@1.0.0 relay: `relay-compiler --src ./assets --schema schema.json`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the stock-tracker@1.0.0 relay script 'relay-compiler --src ./assets --schema schema.json'.
npm ERR! Make sure you have the latest version of node.js and npm installed.

Any ideas as to what the issue might be?

@wez
Copy link
Contributor

wez commented May 16, 2017

What happens if you run watchman --no-pretty get-sockname from a command prompt?

@wez
Copy link
Contributor

wez commented May 16, 2017

Anything useful in the watchman logs? https://facebook.github.io/watchman/docs/troubleshooting.html#where-are-the-logs

@wez
Copy link
Contributor

wez commented Jun 2, 2017

My best guess is that you installed the npm watchman package globally. That's not the same thing as the facebook watchman service, despite the unfortunate naming clash.

@wez wez closed this as completed Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants