parallelshell icon indicating copy to clipboard operation
parallelshell copied to clipboard

npm ERR! code ELIFECYCLE

Open jatintuteja opened this issue 5 years ago • 2 comments

Error: spawn cmd ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19) at onErrorNT (internal/child_process.js:427:16) at processTicksAndRejections (internal/process/next_tick.js:76:17) at process.runNextTicks [as _tickCallback] (internal/process/next_tick.js:51:3) at Function.Module.runMain (internal/modules/cjs/loader.js:804:11) at internal/main/run_main_module.js:21:11 Emitted 'error' event at: at Process.ChildProcess._handle.onexit (internal/child_process.js:252:12) at onErrorNT (internal/child_process.js:427:16) [... lines matching original stack trace ...] at internal/main/run_main_module.js:21:11 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] watch:all: parallelshell "npm run watch:scss" "npm run lite" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] watch:all 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! C:\Users\user\AppData\Roaming\npm-cache_logs\2020-05-08T14_50_07_742Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: npm run watch:all npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start 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! C:\Users\user\AppData\Roaming\npm-cache_logs\2020-05-08T14_50_08_063Z-debug.log

jatintuteja avatar May 08 '20 15:05 jatintuteja

Even i got the exact error.How to solve this.Can anyone help me to go through it

Sailokeshg avatar Jun 12 '21 15:06 Sailokeshg

  1. Open this javascript file -> node_modules\parallelshell\index.js
  2. Goto -> line: 105
  3. Replace it with -> cwd: process.versions.node < 8.0 ? process.cwd : process.cwd(),

Note: I've been using this solution for 3 months and haven't had any other issue, even the solution source is not the developer.

HediMuhamad avatar Nov 12 '21 22:11 HediMuhamad