/private/var/root/Library/Application Support/Sublime Text 2/Packages下修改连个配置文件:
Nodejs.sublime-settings:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{ // save beforerunning commands "save_first": true, // ifpresent, use this command instead of plain "node" // e.g. "/usr/bin/node"or"C:\bin\node.exe" "node_command": "/usr/local/bin/node", // Same for NPM command "npm_command": "/usr/local/bin/npm", // as 'NODE_PATH'environment variable for node runtime "node_path": false,