angular2-primeng-problem@0.1.0 build /home/user/workspace/angular npm run prepare && npm run compile && npm run finish "2" angular2-primeng-problem@0.1.0 prepare /home/user/workspace/angular rm -rf tmp && rm -rf dist angular2-primeng-problem@0.1.0 compile /home/user/workspace/angular ngc -p src/tsconfig.aot.json && ng build -prod Error: Unexpected value 'ButtonModule' imported by the module 'AppModule' at /home/user/workspace/angular/node_modules/@angular/compiler/bundles/compiler.umd.js:14109:37 at Array.forEach (native) at CompileMetadataResolver.getNgModuleMetadata (/home/user/workspace/angular/node_modules/@angular/compiler/bundles/compiler.umd.js:14094:46) at /home/user/workspace/angular/node_modules/@angular/compiler/bundles/compiler.umd.js:12936:58 at Array.forEach (native) at OfflineCompiler.analyzeModules (/home/user/workspace/angular/node_modules/@angular/compiler/bundles/compiler.umd.js:12935:21) at CodeGenerator.codegen (/home/user/workspace/angular/node_modules/@angular/compiler-cli/src/codegen.js:105:47) at codegen (/home/user/workspace/angular/node_modules/@angular/compiler-cli/src/main.js:7:81) at Object.main (/home/user/workspace/angular/node_modules/@angular/tsc-wrapped/src/main.js:30:16) at Object. (/home/user/workspace/angular/node_modules/@angular/compiler-cli/src/main.js:14:9) Compilation failed npm ERR! Linux 4.4.0-38-generic npm ERR! argv "/usr/bin/nodejs" "/home/user/workspace/angular/node_modules/.bin/npm" "run" "compile" npm ERR! node v4.2.6 npm ERR! npm v2.14.21 npm ERR! code ELIFECYCLE npm ERR! angular2-primeng-problem@0.1.0 compile: `ngc -p src/tsconfig.aot.json && ng build -prod` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular2-primeng-problem@0.1.0 compile script 'ngc -p src/tsconfig.aot.json && ng build -prod'. npm ERR! This is most likely a problem with the angular2-primeng-problem package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! ngc -p src/tsconfig.aot.json && ng build -prod npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular2-primeng-problem npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls angular2-primeng-problem npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/user/workspace/angular/npm-debug.log npm ERR! Linux 4.4.0-38-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build" "2" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! code ELIFECYCLE npm ERR! angular2-primeng-problem@0.1.0 build: `npm run prepare && npm run compile && npm run finish "2"` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular2-primeng-problem@0.1.0 build script 'npm run prepare && npm run compile && npm run finish "2"'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the angular2-primeng-problem package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! npm run prepare && npm run compile && npm run finish "2" npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular2-primeng-problem npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls angular2-primeng-problem npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/user/workspace/angular/npm-debug.log