I used Cmder to opened the ST3, and then when I used plugin of ST3 which need base on the nodejs(HTML-CSS-JS Prettify), the console ST3 told me <Node.js was not found in the default path. Please specify the location.>
But I’m already specified the nodejs path like this:
“node_path”: {
“windows”: “C:\Program Files\nodejs\node.exe”,
“linux”: “/usr/bin/nodejs”,
“osx”: “/usr/local/bin/node”
}
It worked good without Cmder,only appeared Error when uesed Cmder,this is the Error:
Using node.js path on 'windows': C:\Program Files\nodejs\node.exe Unexpected error(<class 'OSError'>): [WinError 6] 句柄无效。 Traceback (most recent call last): File "E:\Sublime Text 3\sublime_plugin.py", line 818, in run_ return self.run(edit) File "C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Packages\HTML-CSS-JS Prettify\HTMLPrettify.py", line 49, in run print(self.get_output_diagnostics(output)) File "C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Packages\HTML-CSS-JS Prettify\HTMLPrettify.py", line 111, in get_output_diagnostics index = output.find(OUTPUT_VALID) AttributeError: 'NoneType' object has no attribute 'find'
Is there someone knows what’s wrong with it? Thank a lot for your help!