Home > Back-end >  When the NPM install ejs problems
When the NPM install ejs problems

Time:12-23

$NPM install

[email protected] postinstall D: \ \ blog gitee \ node_modules \ ejs
The node - harmony./postinstall. Js

'node' not internal or external command, nor a runnable program
Or a batch file,
NPM WARN optional SKIPPING optional DEPENDENCY: [email protected] (node_modules \ fsevents) :
NPM WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {" OS ":" Darwin ", "arch" : "any"} (current: {" OS ":" win32 ", "arch" : "x64"})

npm ERR! Code ELIFECYCLE
npm ERR! Errno 1
npm ERR! [email protected] postinstall: ` node -- harmony./postinstall. Js `
npm ERR! The Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with NPM. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! D: \ \ Program Files \ nodejs \ node_cache \ _logs \ 2020-06-21 T02_59_05_978Z - the debug log

CodePudding user response:

The node. Exe in the system path
  • Related