-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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 : unknown option --no-pretty error while npm start #2941
Comments
+1 |
brew update or use brew install brew --head may help |
Thanks for reporting! What does |
+1 occurs with 3.7.0 and 3.8.0 |
watchman --version outputs: |
are you guys using facebooks' watchman? |
ok i fixed it this way: |
I was using npm's watchman. It was conflicting with the watchman installed with brew. Removed all other watchman installations in npm and installed again with brew. Now it is working properly. |
This fixed it for me: brew update && brew upgrade |
Still seeing this issue. None of the above fixed it for me. Running watchman 3.8.0 |
I have just solved an issue similar to this one by running $ sudo chown -R $(whoami):admin /usr/local I must have messed with the permissions at one point or the other. |
brew uninstall watchman and be sure that you changed the localhost with your localhost url (ifconfig command to check -> http://127.0.0.1:8081/index.ios.bundle?platform=ios&dev=true in my case) |
awesome thanks!! |
Same problem with watchman 4.5.0 |
same problem with watchman 4.5.0 |
1 similar comment
same problem with watchman 4.5.0 |
My current solution is to just completely uninstall watchman. I can still develop without it. |
same with watchman 4.5.0 |
updating xquartz to latest fixed this |
If $watchman --version does not work, you are not using the appropriate watchman. Uninstall NPM watchman by $sudo npm r -g watchman and re-install it with brew $brew install --HEAD watchman. If you had install with brew before, first uninstall with $brew uninstall watchman. So better: sudo npm r -g watchman |
@amonmoce Your solution doesn't work. ERROR watchman--no-pretty get-sockname returned with exit code 1 2016-05-31T13:28:44,040: [cli] failed to identify PDU: fill_buffer: EOF Error: watchman--no-pretty get-sockname returned with exit code 1 2016-05-31T13:28:44,040: [cli] failed to identify PDU: fill_buffer: EOF
Any resolutions towards breaking in watchman 4.5.0 ?! [For now running with watchman uninstalled] |
same error
|
+1 here please reopen. |
Same here. Why is this old bug happening again? ERROR watchman--no-pretty get-sockname returned with exit code 1 2016-06-01T13:42:56,267: [cli] failed to identify PDU: fill_buffer: EOF
2016-06-01T13:42:56,268: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/4.5.0/var/run/watchman/chen-state/sock! (Undefined error: 0)
Error: watchman--no-pretty get-sockname returned with exit code 1 2016-06-01T13:42:56,267: [cli] failed to identify PDU: fill_buffer: EOF
2016-06-01T13:42:56,268: [cli] unable to talk to your watchman on /usr/local/Cellar/watchman/4.5.0/var/run/watchman/chen-state/sock! (Undefined error: 0)
at ChildProcess.<anonymous> (/Users/chen/repo/gist/T/node_modules/fb-watchman/index.js:198:18)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:492:12) updated, found it probably related with Deco |
watchman 4.5--------close Deco will be ok |
+1 getting this with watchman 4.5.0 |
My problem is solved
Thanks @mihriminaz; |
Non of these solutions are working for me. Using watchman v4.6.0 |
Worked for me as well. Seemed like pcre needed an update. |
if u are using DECO, close it and run the app again -- worked for me |
I uninstalled and then installed the Got solution from hint provided by amonmoce ; helped me completely :) I followed andruschka and mihriminaz, but use the command with |
I used the solution of uninstalling it and reinstalling it with --HEAD using brew and it worked fine. Thanks! |
I was also on the same boat, but with below three line execution it resolved my error. Also make sure to close the deco. |
@+1 for linux |
+1 for closing Deco. |
I had the same errors and it had to do with me downloading Deco. I deleted it and everything seems to be working fine now using. watchman 4.5.0 |
This happened to me after migrating to a new laptop. Long story short, all my files had the wrong owner UID, running this on my home folder fixed this particular issue: |
In fact, the error notices " ERROR watchman --no-pretty get-sockname returned with exit code=1, signal=null, stderr= 2017-07-06T15:33:28,862: [0x7fffb4e823c0] the permissions on /usr/local/var/run/watchman/zhengmeiyu-state allow others to write to it. Verify that you own the contents and then fix its permissions by running |
Same bug with watchman 4.9.0 on Windows. Works ok for a while then starts doing this (in |
Same error on macOS High Sierra with watchman 4.9.0. Tried all proposed solutions! |
In my case (watchman 4.9.0),it show me the error: watchman --no-pretty get-sockname returned with exit code=1, signal=null, stderr= 2018-03-08T09:53:11,047: [0x7fffac994340] the owner of /usr/local/var/run/watchman/root-state is uid 501 and doesn't match your euid 0 I try all above possible way but no luck and the only way to fix is going to |
watchman -v => 4.9.0 npm r -g watchman
brew update && brew upgrade
brew install watchman And then: $ sudo chown -R $(whoami):admin /usr/local/var That solved it for me! |
I just run this code in terminal and it works
|
I use the solution with @mylonasg88 and @liamm12 . |
Hi
I am getting 'unknown option --no-pretty' error while trying to start development server of react-native android project.
I executed
Then i got this:
Please help
The text was updated successfully, but these errors were encountered: