Node.js was not found in the default path. Please specify the location.
Sublime Text 格式化 Node 代码的时候,报这个错误,哪位大神知道哇
14 回复
{
// Simply using node
without specifying a path sometimes doesn’t work :(
// https://github.com/victorporof/Sublime-HTMLPrettify#oh-noez-command-not-found
// http://nodejs.org/#download
"node_path": "/usr/local/Cellar/node/0.10.26/bin",
"format_on_save": true
}
怎么修改都不管用呢。
{
// Simply using `node` without specifying a path sometimes doesn't work :(
// https://github.com/victorporof/Sublime-HTMLPrettify#oh-noez-command-not-found
// http://nodejs.org/#download
"node_path": "/Users/pana/.nvm/v0.10.21/bin/node",
"format_on_save": false
}
这个是我的, 绝对可以用哟
试试 Textor ,This is a very cool text editor, not a IDE, Only 3s to start using. 下载地址:http://textor.houfeng.net/?download