after win10 system installs node successfully, node-v can publish this number, but npm cannot be used. Error:
Error: spawn D:\nodejs\node.exe ENOENT
at _errnoException (util.js:1031:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:201:19)
at onErrorNT (internal/child_process.js:389:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:684:11)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:613:3
D:\nodejs\node_modules\npm\lib\npm.js:51
throw new Error("npm.load() required")
^
Error: npm.load() required
at Object.get (D:\nodejs\node_modules\npm\lib\npm.js:51:13)
at process.errorHandler (D:\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18)
at process.emit (events.js:159:13)
at process._fatalException (bootstrap_node.js:382:26)
5.5.1
events.js:136
throw er; // Unhandled "error" event
^
Error: spawn D:\nodejs\node.exe ENOENT
at _errnoException (util.js:1031:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:201:19)
at onErrorNT (internal/child_process.js:389:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:684:11)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:613:3
just use the npm command to report this error, and ask the boss to tell me what the problem is and how to solve it.