Maven Build Error

11 views
Skip to first unread message

Sri

unread,
Jul 17, 2020, 8:07:33 AM7/17/20
to Angular and AngularJS discussion
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] > 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! 

Michael Glaser

unread,
Jul 18, 2020, 3:01:35 AM7/18/20
to Angular and AngularJS discussion
Did you search for "through" in your code? That seems like something not marked as a comment.

Reply all
Reply to author
Forward
0 new messages