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] > u...@0.0.0 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! u...@0.0.0 build: `ng build`
[ERROR] npm ERR! spawn ENOENT
[ERROR] npm ERR!