I'm using Angular 10

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1000.1
@angular-devkit/core         10.0.1
@angular-devkit/schematics   10.0.1
@schematics/angular          10.0.1
@schematics/update           0.1000.1
rxjs                         6.5.5


Why am I getting below npm clean install build error? Thanks.

[INFO] > [email protected] build C:\Users\zzz\Angular\lineitems\src\main\ui
[INFO] > ng build
[INFO] 
[ERROR] Unknown error: Error: Cannot find module 'through'
[ERROR] npm ERR! file C:\Windows\system32\cmd.exe
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno ENOENT
[ERROR] npm ERR! syscall spawn
[ERROR] npm ERR! [email protected] build: `ng build`
[ERROR] npm ERR! spawn ENOENT
[ERROR] npm ERR! 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/579ff7f2-12d3-4926-bd78-51aa0f27014do%40googlegroups.com.

Reply via email to