Error while building Angular 7 project on Centos 7 platform

What I Wanted to Do

Try to build Angular 7 project using jenkins on Docker.

What Happened Instead

Got below error:

root@12668bef975d:/# tail -f /root/.npm/_logs/2019-03-19T16_20_13_481Z-debug.log
16462 silly extract typescript@3.2.2 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/typescript-c58a0403 (29466ms)
16463 silly extract core-js@2.5.7 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/core-js-7be178d0 (7358ms)
16464 silly extract typescript@3.1.6 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/typescript-4d28b793 (21608ms)
16465 silly extract @angular/common@7.1.4 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/@angular/common-aa919c68 (27754ms)
16466 silly extract @angular/material@7.2.0 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/@angular/material-e38c441e (28210ms)
16467 silly extract rxjs@6.3.3 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/rxjs-241b3a96 (21353ms)
16468 timing npm Completed in 62668ms
16469 error cb() never called!
16470 error This is an error with npm itself. Please report this error at:
16471 error https://npm.community

Reproduction Steps

Details

root@12668bef975d:/# tail -f /root/.npm/_logs/2019-03-19T16_20_13_481Z-debug.log
16462 silly extract typescript@3.2.2 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/typescript-c58a0403 (29466ms)
16463 silly extract core-js@2.5.7 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/core-js-7be178d0 (7358ms)
16464 silly extract typescript@3.1.6 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/typescript-4d28b793 (21608ms)
16465 silly extract @angular/common@7.1.4 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/@angular/common-aa919c68 (27754ms)
16466 silly extract @angular/material@7.2.0 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/@angular/material-e38c441e (28210ms)
16467 silly extract rxjs@6.3.3 extracted to /var/jenkins_home/workspace/Inventory Management System/tmp/jobDir/node_modules/.staging/rxjs-241b3a96 (21353ms)
16468 timing npm Completed in 62668ms
16469 error cb() never called!
16470 error This is an error with npm itself. Please report this error at:
16471 error https://npm.community

Platform Info

$ npm --versions
root@12668bef975d:/# npm --version
6.5.0
root@12668bef975d:/#

$ node -p process.platform
root@12668bef975d:/#  node -p process.platform
linux
root@12668bef975d:/#

root@12668bef975d:/# ng --version
Angular CLI: 7.3.6
Node: 11.7.0
OS: linux x64
Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.13.6
@angular-devkit/core         7.3.6
@angular-devkit/schematics   7.3.6
@schematics/angular          7.3.6
@schematics/update           0.13.6
rxjs                         6.3.3
typescript                   3.2.4

root@12668bef975d:/#

Invalid issue. Close it. Forget to run “npm install”.

1 Like