While running /npm install or npm i get this errors so any help

[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\ionicTaxi-4\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\ionicTaxi-4\driver>npm i @angular-devkit/build-angula
r

Also posted as: [ERROR] ng has unexpectedly closed (exit code 127).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.