Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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",
like image 692
plainflavour Avatar asked Nov 21 '13 12:11

plainflavour


1 Answers

This works for me:

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

like image 195
Donal Avatar answered Oct 22 '22 21:10

Donal