cannot create file watcher for prettier global install on mac

I do everything like described here and get an error 

Error: Cannot run program "/usr/local/lib/node_modules/prettier" (in directory "/Users/Kat/proj-folder"): error=13, Permission denied

Pls note that on prettier issue tracker they managed to resolve it on windows, but I'm on osx.


A Program should be a script that has executable permissions, and you have specified a path to prettier package instead. Please make sure to specify a prettier executable as Program value. If prettier is on your $PATH, you can just specify prettier as a value; otherwise, run which prettier to locate the executable and specify the full path to the binary


kool, thank you, Elena!

specified `/usr/local/bin/prettier` and it worked

didn't know about the 'which' command - educating)


Please sign in to leave a comment.