Created
July 20, 2017 14:24
-
-
Save kaweski/f4c8e79d8390f417df8ba14ac710dcb3 to your computer and use it in GitHub Desktop.
Erro de build.
$ sudo npm run build:aot:prod
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo npm run build:aot:prod | |
Password: | |
> [email protected] build:aot:prod /Users/natasha.kaweski/Documents/new/hub | |
> npm run clean:dist && npm run clean:aot && BUILD_AOT=1 npm run webpack -- --config config/webpack.prod.js --progress --profile --bail | |
> [email protected] clean:dist /Users/natasha.kaweski/Documents/new/hub | |
> npm run rimraf -- dist | |
> [email protected] rimraf /Users/natasha.kaweski/Documents/new/hub | |
> rimraf "dist" | |
> [email protected] clean:aot /Users/natasha.kaweski/Documents/new/hub | |
> npm run rimraf -- compiled | |
> [email protected] rimraf /Users/natasha.kaweski/Documents/new/hub | |
> rimraf "compiled" | |
> [email protected] webpack /Users/natasha.kaweski/Documents/new/hub | |
> node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail" | |
Starting compilation using the angular compiler. | |
Angular compilation done, starting webpack bundling. | |
Error: Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in /Users/natasha.kaweski/Documents/new/hub/node_modules/angular2-elastic-input/node_modules/@angular/core/core.d.ts, resolving symbol ɵe in /Users/natasha.kaweski/Documents/new/hub/node_modules/angular2-elastic-input/node_modules/@angular/core/core.d.ts, resolving symbol ɵe in /Users/natasha.kaweski/Documents/new/hub/node_modules/angular2-elastic-input/node_modules/@angular/core/core.d.ts | |
at Error (native) | |
at syntaxError (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/bundles/compiler.umd.js:1513:34) | |
at simplifyInContext (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/@angular/compiler.es5.js:23797:17) | |
at StaticReflector.simplify (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/@angular/compiler.es5.js:23809:7) | |
at StaticReflector.annotations (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/@angular/compiler.es5.js:23258:38) | |
at NgModuleResolver.resolve (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/@angular/compiler.es5.js:13786:34) | |
at CompileMetadataResolver.getNgModuleMetadata (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/@angular/compiler.es5.js:14371:58) | |
at addNgModule (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/bundles/compiler.umd.js:22982:58) | |
at /Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/bundles/compiler.umd.js:22993:14 | |
at Array.forEach (native) | |
at _createNgModules (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/@angular/compiler.es5.js:22987:8) | |
at analyzeNgModules (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/bundles/compiler.umd.js:22867:14) | |
at analyzeAndValidateNgModules (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/@angular/compiler.es5.js:22872:19) | |
at AotCompiler.compileAll (/Users/natasha.kaweski/Documents/new/hub/node_modules/@angular/compiler/@angular/compiler.es5.js:22648:13) | |
at CodeGenerator.codegen (/Users/natasha.kaweski/Documents/new/hub/packages/compiler-cli/src/codegen.ts:41:10) | |
at /Users/natasha.kaweski/Documents/new/hub/node_modules/src/main.ts:20:84 | |
at Object.main (/Users/natasha.kaweski/Documents/new/tools/@angular/tsc-wrapped/src/main.ts:116:12) | |
at Object.runInternal (/Users/natasha.kaweski/Documents/new/hub/node_modules/src/main.ts:25:10) | |
at /Users/natasha.kaweski/Documents/new/hub/node_modules/src/plugin.ts:64:21 | |
at process._tickCallback (internal/process/next_tick.js:109:7) | |
at Module.runMain (module.js:606:11) | |
at run (bootstrap_node.js:389:7) | |
at startup (bootstrap_node.js:149:9) | |
at bootstrap_node.js:504:3 | |
npm ERR! Darwin 15.6.0 | |
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "webpack" "--" "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail" | |
npm ERR! node v6.11.0 | |
npm ERR! npm v3.10.10 | |
npm ERR! code ELIFECYCLE | |
npm ERR! [email protected] webpack: `node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] webpack script 'node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"'. | |
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 HUB package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail" | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs HUB | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! npm owner ls HUB | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /Users/natasha.kaweski/Documents/new/hub/npm-debug.log | |
npm ERR! Darwin 15.6.0 | |
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:aot:prod" | |
npm ERR! node v6.11.0 | |
npm ERR! npm v3.10.10 | |
npm ERR! code ELIFECYCLE | |
npm ERR! [email protected] build:aot:prod: `npm run clean:dist && npm run clean:aot && BUILD_AOT=1 npm run webpack -- --config config/webpack.prod.js --progress --profile --bail` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] build:aot:prod script 'npm run clean:dist && npm run clean:aot && BUILD_AOT=1 npm run webpack -- --config config/webpack.prod.js --progress --profile --bail'. | |
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 HUB package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! npm run clean:dist && npm run clean:aot && BUILD_AOT=1 npm run webpack -- --config config/webpack.prod.js --progress --profile --bail | |
npm ERR! You can get information on how to open an issue for this project with: | |
npm ERR! npm bugs HUB | |
npm ERR! Or if that isn't available, you can get their info via: | |
npm ERR! npm owner ls HUB | |
npm ERR! There is likely additional logging output above. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /Users/natasha.kaweski/Documents/new/hub/npm-debug.log | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment