Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Sampath-Lokuge/23b31cdd1c48f8262dfc82002d923b50 to your computer and use it in GitHub Desktop.
Save Sampath-Lokuge/23b31cdd1c48f8262dfc82002d923b50 to your computer and use it in GitHub Desktop.
Aot
`D:\Freelance-Work\Clients\Daniel\2017master>npm run build:aot
> [email protected] build:aot D:\Freelance-Work\Clients\Daniel\2017master
> npm run build:aot:prod
> [email protected] build:aot:prod D:\Freelance-Work\Clients\Daniel\2017master
> npm run clean:dist && npm run clean:aot && cross-env BUILD_AOT=1 npm run webpack -- --config config/webpack.prod.js --progress --profile --bail
> [email protected] clean:dist D:\Freelance-Work\Clients\Daniel\2017master
> npm run rimraf -- dist
> [email protected] rimraf D:\Freelance-Work\Clients\Daniel\2017master
> rimraf "dist"
> [email protected] clean:aot D:\Freelance-Work\Clients\Daniel\2017master
> npm run rimraf -- compiled
> [email protected] rimraf D:\Freelance-Work\Clients\Daniel\2017master
> rimraf "compiled"
> [email protected] webpack D:\Freelance-Work\Clients\Daniel\2017master
> node --max_old_space_size=10240 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: Metadata version mismatch for module D:/Freelance-Work/Clients/Daniel/2017master/node_modules/@agm/core/services/google-maps-types.d.ts, found version 4, expected 3
at StaticSymbolResolver.getModuleMetadata (D:\Freelance-Work\Clients\Daniel\2017master\node_modules\@angular\compiler\@angular\compiler.es5.js:25586:7)
at StaticSymbolResolver._createSymbolsOf (D:\Freelance-Work\Clients\Daniel\2017master\node_modules\@angular\compiler\@angular\compiler.es5.js:25374:10)
at StaticSymbolResolver.getSymbolsOf (D:\Freelance-Work\Clients\Daniel\2017master\node_modules\@angular\compiler\@angular\compiler.es5.js:25355:12)
at D:\Freelance-Work\Clients\Daniel\2017master\node_modules\@angular\compiler\bundles\compiler.umd.js:24241:30
at Array.forEach (<anonymous>)
at extractProgramSymbols (D:\Freelance-Work\Clients\Daniel\2017master\node_modules\@angular\compiler\@angular\compiler.es5.js:24210:55)
at AotCompiler.analyzeModulesAsync (D:\Freelance-Work\Clients\Daniel\2017master\node_modules\@angular\compiler\@angular\compiler.es5.js:23766:7)
at CodeGenerator.codegen (D:\Freelance-Work\Clients\Daniel\2017master\packages\compiler-cli\src\codegen.ts:41:10)
at D:\Freelance-Work\Clients\Daniel\2017master\node_modules\src\main.ts:19:84
at Object.main (D:\Freelance-Work\Clients\Daniel\tools\@angular\tsc-wrapped\src\main.ts:136:12)
at Object.runInternal (D:\Freelance-Work\Clients\Daniel\2017master\node_modules\src\main.ts:24:10)
at D:\Freelance-Work\Clients\Daniel\2017master\node_modules\src\plugin.ts:64:21
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] webpack: `node --max_old_space_size=10240 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.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lokuge\AppData\Roaming\npm-cache\_logs\2018-08-04T15_07_17_817Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:aot:prod: `npm run clean:dist && npm run clean:aot && cross-env 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 ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lokuge\AppData\Roaming\npm-cache\_logs\2018-08-04T15_07_17_994Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:aot: `npm run build:aot:prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:aot script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lokuge\AppData\Roaming\npm-cache\_logs\2018-08-04T15_07_18_064Z-debug.log
D:\Freelance-Work\Clients\Daniel\2017master>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment