Advertisement
Guest User

Untitled

a guest
Dec 6th, 2017
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. > soda-webapp@0.0.0 postinstall /tmp/build_03096b649c00fd7af97d705cde4313df
  2.  
  3. > ng build --aot -prod
  4.  
  5.  
  6.  
  7. Date: 2017-12-06T12:47:23.298Z
  8.  
  9. Hash: 2bc1a758615f19e72769
  10.  
  11. Time: 2404ms
  12.  
  13. chunk {0} styles.d41d8cd98f00b204e980.bundle.css (styles) 0 bytes {3} [initial] [rendered]
  14.  
  15. chunk {1} polyfills.3bc34265385d52184eab.bundle.js (polyfills) 86 bytes {3} [initial] [rendered]
  16.  
  17. chunk {2} main.e402deade8b026b7d50e.bundle.js (main) 84 bytes [initial] [rendered]
  18.  
  19. chunk {3} inline.22b7623ed7c5ac6f9a35.bundle.js (inline) 1.45 kB [entry] [rendered]
  20.  
  21.  
  22.  
  23. 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.
  24.  
  25. at Error (native)
  26.  
  27. at syntaxError (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:1729:34)
  28.  
  29. at CompileMetadataResolver._addTypeToModule (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:15584:31)
  30.  
  31. at /tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:15472:27
  32.  
  33. at Array.forEach (native)
  34.  
  35. at CompileMetadataResolver.getNgModuleMetadata (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:15463:54)
  36.  
  37. at addNgModule (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24268:58)
  38.  
  39. at /tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24279:14
  40.  
  41. at Array.forEach (native)
  42.  
  43. at _createNgModules (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24278:26)
  44.  
  45. at analyzeNgModules (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24153:14)
  46.  
  47. at analyzeAndValidateNgModules (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:24163:35)
  48.  
  49. at AotCompiler.analyzeModulesAsync (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler/bundles/compiler.umd.js:23797:46)
  50.  
  51. at CodeGenerator.codegen (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler-cli/src/codegen.js:32:14)
  52.  
  53. at Function.NgTools_InternalApi_NG_2.codeGen (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@angular/compiler-cli/src/ngtools_api.js:73:30)
  54.  
  55. at _donePromise.Promise.resolve.then (/tmp/build_03096b649c00fd7af97d705cde4313df/node_modules/@ngtools/webpack/src/plugin.js:391:44)
  56.  
  57.  
  58.  
  59. npm ERR! Linux 3.13.0-133-generic
  60.  
  61. 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"
  62.  
  63. npm ERR! node v6.9.2
  64.  
  65. npm ERR! npm v3.10.9
  66.  
  67. npm ERR! code ELIFECYCLE
  68.  
  69. npm ERR! soda-webapp@0.0.0 postinstall: `ng build --aot -prod`
  70.  
  71. npm ERR! Exit status 1
  72.  
  73. npm ERR!
  74.  
  75. npm ERR! Failed at the soda-webapp@0.0.0 postinstall script 'ng build --aot -prod'.
  76.  
  77. npm ERR! Make sure you have the latest version of node.js and npm installed.
  78.  
  79. npm ERR! If you do, this is most likely a problem with the soda-webapp package,
  80.  
  81. npm ERR! not with npm itself.
  82.  
  83. npm ERR! Tell the author that this fails on your system:
  84.  
  85. npm ERR! ng build --aot -prod
  86.  
  87. npm ERR! You can get information on how to open an issue for this project with:
  88.  
  89. npm ERR! npm bugs soda-webapp
  90.  
  91. npm ERR! Or if that isn't available, you can get their info via:
  92.  
  93. npm ERR! npm owner ls soda-webapp
  94.  
  95. npm ERR! There is likely additional logging output above.
  96.  
  97.  
  98.  
  99. npm ERR! Please include the following file with any support request:
  100.  
  101. npm ERR! /tmp/build_03096b649c00fd7af97d705cde4313df/npm-debug.log
  102.  
  103. -----> Build failed
  104.  
  105.  
  106.  
  107. We're sorry this build is failing! You can troubleshoot common issues here:
  108.  
  109. https://devcenter.heroku.com/articles/troubleshooting-node-deploys
  110.  
  111.  
  112.  
  113. If you're stuck, please submit a ticket so we can help:
  114.  
  115. https://help.heroku.com/
  116.  
  117.  
  118.  
  119. Love,
  120.  
  121. Heroku
  122.  
  123.  
  124.  
  125. ! Push rejected, failed to compile Node.js app.
  126.  
  127. ! Push failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement