How do I specify the path to node in SublimeText3 for Sublime-JSHint plugin in Windows

plainflavour picture plainflavour · Nov 21, 2013 · Viewed 16.8k times · Source

After installing node.js then the Sublime-JSHint plugin on Windows XP with SublimeText3, I get the following error:

"Node.js was not found in the default path. Please specify the location."

This is a known configuration issue and is documented by the author, however I can't work out how to specify the path. Can anyone tell me how to specify the path in Windows XP?

https://github.com/victorporof/Sublime-JSHint#oh-noez-command-not-found

I have tried

"node_path": "/Program Files/nodejs",

"node_path": "C:/Program Files/nodejs",

"node_path": "/Program Files/nodejs/node.exe",

"node_path": "C:/Program Files/nodejs/node.exe",

Answer

Donal picture Donal · Nov 28, 2013

This works for me:

"node_path": "C:/Program Files/nodejs/node.exe"