[ERROR] ng has unexpectedly closed (exit code 127).

[ERROR] ng has unexpectedly closed (exit code 127).

    The Ionic CLI will exit. Please check any output above for error
    details.

C:\Users\utovo inc\Desktop<del>ionicapp>npm install
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\utovo inc\AppData\Roaming\npm-cache_logs\2019-10-03T08_29
_20_485Z-debug.log

C:\Users\utovo inc\Desktop<del>ionicapp>

any help guy

[ERROR] ng has unexpectedly closed (exit code 127).

    The Ionic CLI will exit. Please check any output above for error
    details.

C:\Users\utovo inc\Desktop\ionicTaxi-4\driver>npm i -g @angular/cli
C:\Users\utovo inc\AppData\Roaming\npm\ng -> C:\Users\utovo inc\AppData\Roaming
npm\node_modules@angular\cli\bin\ng

@angular/cli@8.3.7 postinstall C:\Users\utovo inc\AppData\Roaming\npm\node_mod
ules@angular\cli
node ./bin/postinstall/script.js

  • @angular/cli@8.3.7
    updated 1 package in 77.595s

C:\Users\utovo inc\Desktop\ionicTaxi-4\driver>
C:\Users\utovo inc\Desktop\ionicTaxi-4\driver>ionic serve

ng.cmd run app:serve --host=localhost --port=8100
[ng] An unhandled exception occurred: Could not find module “@angular-devkit/bui
ld-angular” from “C:\Users\utovo inc\Desktop\ionicTaxi-4\driver”.
[ng] See “C:\Users\UTOVOI~1\AppData\Local\Temp\ng-KsUiAE\angular-errors.log” for
further details.

[ERROR] ng has unexpectedly closed (exit code 127).

    The Ionic CLI will exit. Please check any output above for error
    details.

C:\Users\utovo inc\Desktop<ins>ionicTaxi-4</ins>driver>npm install
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\utovo inc\AppData\Roaming\npm-cache_logs\2019-10-03T08_29
_20_485Z-debug.log

C:\Users\utovo inc\Desktop\ionicTaxi-4\driver>npm uninstall
up to date in 0.089s

C:\Users\utovo inc\Desktop\ionicTaxi-4\driver>ionic serve

ng.cmd run app:serve --host=localhost --port=8100
[ng] An unhandled exception occurred: Could not find module “@angular-devkit/bui
ld-angular” from “C:\Users\utovo inc\Desktop\ionicTaxi-4\driver”.
[ng] See “C:\Users\UTOVOI~1\AppData\Local\Temp\ng-0IXQ52\angular-errors.log” for
further details.

[ERROR] ng has unexpectedly closed (exit code 127).

    The Ionic CLI will exit. Please check any output above for error
    details.

C:\Users\utovo inc\Desktop\ionicTaxi-4\driver>npm i @angular-devkit/build-angula
r
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\utovo inc\AppData\Roaming\npm-cache_logs\2019-10-03T09_04
_22_521Z-debug.log

C:\Users\utovo inc\Desktop<ins>ionicTaxi-4</ins>driver>npm i @angular-devkit/build-angula
r

Would you please attach the log file from the npm install failing? (It contains extra information about your environment and what npm was doing, and will hopefully help someone diagnose the problem.)

2019-10-03T09_52_21_518Z-debug.log (699.8 KB)

here is the last log

(Thanks. I didn’t spot anything, but hopefully someone else does. There are a number of posts with big installs on Windows failing so I wonder is there is a systematic problem with memory or a timeout, but only speculation!)

i have been rolling for over 16 hours now trying different method to resolve this issue on my local machine but no luck ever since

this my final cmd mood

still following the method and will see whats the results

the command line npm clean-install ---->

working in -verbose mood

Thank you for great attention regard this article , I manage to sort this issue
Due to some Path setup compatibility such users/,system/
1-*nodejs - *12.8.1 either one
2-npm 6.11.3(npm -v)
3-Gradle release is 5.6.2 .
4-jdk - 8u171 -macosx-x64.dmg.