Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > soda-webapp@0.0.0 postinstall /tmp/build_03096b649c00fd7af97d705cde4313df
- > ng build --aot -prod
- Date: 2017-12-06T12:47:23.298Z
- Hash: 2bc1a758615f19e72769
- Time: 2404ms
- chunk {0} styles.d41d8cd98f00b204e980.bundle.css (styles) 0 bytes {3} [initial] [rendered]
- chunk {1} polyfills.3bc34265385d52184eab.bundle.js (polyfills) 86 bytes {3} [initial] [rendered]
- chunk {2} main.e402deade8b026b7d50e.bundle.js (main) 84 bytes [initial] [rendered]
- chunk {3} inline.22b7623ed7c5ac6f9a35.bundle.js (inline) 1.45 kB [entry] [rendered]
- ERROR in Error: Type StudentListComponent in /tmp/build_03096b649c00fd7af97d705cde4313df/src/app/student-list/student-list.component.ts is part of the declarations of 2 modules: AppModule in /tmp/build_03096b649c00fd7af97d705cde4313df/src/app/app.module.ts and StudentListModule in /tmp/build_03096b649c00fd7af97d705cde4313df/src/app/student-list/student-list.module.ts! Please consider moving StudentListComponent in /tmp/build_03096b649c00fd7af97d705cde4313df/src/app/student-list/student-list.component.ts to a higher module that imports AppModule in /tmp/build_03096b649c00fd7af97d705cde4313df/src/app/app.module.ts and StudentListModule in /tmp/build_03096b649c00fd7af97d705cde4313df/src/app/student-list/student-list.module.ts. You can also create a new NgModule that exports and includes StudentListComponent in /tmp/build_03096b649c00fd7af97d705cde4313df/src/app/student-list/student-list.component.ts then import that NgModule in AppModule in /tmp/build_03096b649c00fd7af97d705cde4313df/src/app/app.module.ts and StudentListModule in /tmp/build_03096b649c00fd7af97d705cde4313df/src/app/student-list/student-list.module.ts.
- at Error (native)
- at syntaxError (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:1729:34)
- at CompileMetadataResolver._addTypeToModule (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:15584:31)
- at /tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:15472:27
- at Array.forEach (native)
- at CompileMetadataResolver.getNgModuleMetadata (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:15463:54)
- at addNgModule (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24268:58)
- at /tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24279:14
- at Array.forEach (native)
- at _createNgModules (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24278:26)
- at analyzeNgModules (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24153:14)
- at analyzeAndValidateNgModules (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24163:35)
- at AotCompiler.analyzeModulesAsync (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:23797:46)
- at CodeGenerator.codegen (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler-cli/src/codegen.js:32:14)
- at Function.NgTools_InternalApi_NG_2.codeGen (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler-cli/src/ngtools_api.js:73:30)
- at _donePromise.Promise.resolve.then (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@ngtools/webpack/src/plugin.js:391:44)
- npm ERR! Linux 3.13.0-133-generic
- npm ERR! argv "/tmp/build_03096b649c00fd7af97d705cde4313df/.heroku/node/bin/node" "/tmp/build_03096b649c00fd7af97d705cde4313df/.heroku/node/bin/npm" "install" "--unsafe-perm" "--userconfig" "/tmp/build_03096b649c00fd7af97d705cde4313df/.npmrc"
- npm ERR! node v6.9.2
- npm ERR! npm v3.10.9
- npm ERR! code ELIFECYCLE
- npm ERR! soda-webapp@0.0.0 postinstall: `ng build --aot -prod`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the soda-webapp@0.0.0 postinstall script 'ng build --aot -prod'.
- 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 soda-webapp package,
- npm ERR! not with npm itself.
- npm ERR! Tell the author that this fails on your system:
- npm ERR! ng build --aot -prod
- npm ERR! You can get information on how to open an issue for this project with:
- npm ERR! npm bugs soda-webapp
- npm ERR! Or if that isn't available, you can get their info via:
- npm ERR! npm owner ls soda-webapp
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! /tmp/build_03096b649c00fd7af97d705cde4313df/npm-debug.log
- -----> Build failed
- We're sorry this build is failing! You can troubleshoot common issues here:
- https://devcenter.heroku.com/articles/troubleshooting-node-deploys
- If you're stuck, please submit a ticket so we can help:
- https://help.heroku.com/
- Love,
- Heroku
- ! Push rejected, failed to compile Node.js app.
- ! Push failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement