Comments (3)
hey i have build the project using webpack and using tomcat server i try to open the dist project and hear are the error logs please help about it
hear is the command output
Muhammads-MacBook-Pro:angular-starter m.tahir$ npm run build:prod
> [email protected] build:prod /Users/m.tahir/projects/angular-starter
> rimraf dist && npm run webpack -- --config config/webpack.prod.js --progress --profile --bail
> [email protected] webpack /Users/m.tahir/projects/angular-starter
> node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "config/webpack.prod.js" "--progress" "--profile" "--bail"
11567ms building . 14ms finish module graph
1ms sealing
0ms basic dependencies optimization
44ms dependencies optimization
0ms advanced dependencies optimization
0ms after dependencies optimization
15ms chunk graph
1ms after chunk graph
0ms optimizing
0ms basic module optimization
0ms module optimization
0ms advanced module optimization
1ms after module optimization
3ms basic chunk optimization
0ms chunk optimization
16ms advanced chunk optimization
0ms after chunk optimization
1ms module and chunk tree optimization
0ms after module and chunk tree optimization
0ms basic chunk modules optimization
142ms chunk modules optimization
0ms advanced chunk modules optimization
1ms after chunk modules optimization
0ms module reviving
4ms module order optimization
0ms advanced module order optimization
11ms before module ids
1ms module ids
3ms module id optimization
0ms chunk reviving
1ms chunk order optimization
0ms before chunk ids
1ms chunk id optimization
4ms after chunk id optimization
1ms record modules
0ms record chunks
75ms hashing
11ms content hashing
1ms after hashing
0ms record hash
0ms module assets processing
1047ms chunk assets processing
2ms additional chunk assets processing
0ms recording
0ms additional asset processing
26852ms chunk asset optimization
13ms after chunk asset optimization c 0ms asset optimization
0ms after asset optimization
2ms after seal
520ms emitting
4ms after emitting
Hash: 3136c6f2ec7287c96f8c
Version: webpack 4.27.1
Time: 40391ms
Built at: 12/17/2018 1:58:56 PM
Asset Size Chunks Chunk Names
4.2a3d7a0718df26d04841.chunk.js 724 bytes 4 [emitted]
5.952a7b7f9196a4c4e0b2.chunk.js 914 bytes 5 [emitted]
6.d46f2944056efc02ed19.chunk.js 724 bytes 6 [emitted]
7.87fd969a35e2f27a92c9.chunk.js 914 bytes 7 [emitted]
8.b8aa3866aa39f266e786.chunk.js 105 bytes 8 [emitted]
assets/css/.gitkeep 14 bytes [emitted]
assets/data.json 30 bytes [emitted]
assets/humans.txt 251 bytes [emitted]
assets/icon/android-icon-144x144.png 8.24 KiB [emitted]
assets/icon/android-icon-192x192.png 9.49 KiB [emitted]
assets/icon/android-icon-36x36.png 2.25 KiB [emitted]
assets/icon/android-icon-48x48.png 2.86 KiB [emitted]
assets/icon/android-icon-72x72.png 4.13 KiB [emitted]
assets/icon/android-icon-96x96.png 5.47 KiB [emitted]
assets/icon/apple-icon-114x114.png 6.4 KiB [emitted]
assets/icon/apple-icon-120x120.png 6.76 KiB [emitted]
assets/icon/apple-icon-144x144.png 8.24 KiB [emitted]
assets/icon/apple-icon-152x152.png 8.78 KiB [emitted]
assets/icon/apple-icon-180x180.png 10.7 KiB [emitted]
assets/icon/apple-icon-57x57.png 3.32 KiB [emitted]
assets/icon/apple-icon-60x60.png 3.48 KiB [emitted]
assets/icon/apple-icon-72x72.png 4.13 KiB [emitted]
assets/icon/apple-icon-76x76.png 4.36 KiB [emitted]
assets/icon/apple-icon-precomposed.png 10 KiB [emitted]
assets/icon/apple-icon.png 10 KiB [emitted]
assets/icon/browserconfig.xml 281 bytes [emitted]
assets/icon/favicon-16x16.png 1.49 KiB [emitted]
assets/icon/favicon-32x32.png 2.02 KiB [emitted]
assets/icon/favicon-96x96.png 5.47 KiB [emitted]
assets/icon/favicon.ico 1.12 KiB [emitted]
assets/icon/ms-icon-144x144.png 8.24 KiB [emitted]
assets/icon/ms-icon-150x150.png 8.67 KiB [emitted]
assets/icon/ms-icon-310x310.png 23.6 KiB [emitted]
assets/icon/ms-icon-70x70.png 4.03 KiB [emitted]
assets/img/angular.png 18.5 KiB [emitted]
assets/img/tipe.png 44.8 KiB [emitted]
assets/manifest.json 654 bytes [emitted]
assets/robots.txt 31 bytes [emitted]
assets/service-worker.js 44 bytes [emitted]
humans.txt 251 bytes [emitted]
index.html 3.58 KiB [emitted]
main-3136c6f2ec7287c96f8c.css 449 bytes 0 [emitted] main
main-3136c6f2ec7287c96f8c.css.map 718 bytes 0 [emitted] main
main.622918cce37fabb75c78.bundle.js 9.77 KiB 0 [emitted] main
polyfills.08bf1db2b75a62525616.bundle.js 1.49 KiB 1 [emitted] polyfills
robots.txt 31 bytes [emitted]
vendors~main.def96091d36cb32b663f.chunk.js 953 KiB 2 [emitted] [big] vendors~main
vendors~polyfills.5987d24e527570743075.chunk.js 62.9 KiB 3 [emitted] vendors~polyfills
Entrypoint polyfills = vendors~polyfills.5987d24e527570743075.chunk.js polyfills.08bf1db2b75a62525616.bundle.js
Entrypoint main [big] = vendors~main.def96091d36cb32b663f.chunk.js main-3136c6f2ec7287c96f8c.css main.622918cce37fabb75c78.bundle.js main-3136c6f2ec7287c96f8c.css.map
[0/uQ] ./node_modules/rxjs/_esm5/internal/observable/from.js + 5 modules 6.17 KiB {2} [built]
| 6 modules
[0PRj] ./src/app/+detail/detail.module.ts + 2 modules 2.13 KiB {7} [built]
| ./src/app/+detail/detail.module.ts 944 bytes [built]
| [] 7361ms -> [] 172ms -> [CcnG] 1616ms -> [zn8P] 2488ms -> factory:274ms building:4ms dependencies:1495ms = 13410ms
| ./src/app/+detail/detail.component.ts 950 bytes [built]
| [] 7361ms -> [] 172ms -> [CcnG] 1616ms -> [zn8P] 2488ms -> [] 278ms -> factory:1495ms building:0ms dependencies:2ms = 13412ms
| ./src/app/+detail/detail.routes.ts 262 bytes [built]
| [] 7361ms -> [] 172ms -> [CcnG] 1616ms -> [zn8P] 2488ms -> [] 278ms -> factory:1495ms building:0ms dependencies:2ms = 13412ms
[6blF] ./node_modules/rxjs/_esm5/internal/Observable.js + 2 modules 5.32 KiB {2} [built]
| 3 modules
[A3xY] ./src/app/app.component.css 254 bytes {0} [built]
[] 7361ms -> [] 172ms -> factory:1611ms building:5ms dependencies:842ms = 9991ms
[PGGC] ./src/styles/styles.scss 39 bytes {0} [built]
[] 7361ms -> [] 172ms -> [] 485ms -> factory:2094ms building:627ms dependencies:1877ms = 12616ms
[Q2EZ] ./node_modules/css-loader!./src/app/app.component.css 284 bytes {0} [built]
[] 7361ms -> [] 172ms -> [A3xY] 1616ms -> factory:16ms building:378ms = 9543ms
[TKcz] ./src/polyfills.browser.ts 2.59 KiB {1} [built]
factory:7337ms building:16ms = 7353ms
[ToYH] ./node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js + 1 modules 1.08 MiB {2} [built]
| 2 modules
[ZYCi] ./node_modules/@angular/router/fesm5/router.js + 15 modules 230 KiB {2} [built]
| 16 modules
[gIcY] ./node_modules/@angular/forms/fesm5/forms.js + 1 modules 221 KiB {2} [built]
| 2 modules
[iTwO] ./src/main.browser.ts + 21 modules 17.6 KiB {0} [built]
| ./src/main.browser.ts 1.79 KiB [built]
| factory:7339ms building:22ms = 7361ms
| ./src/environments/environment.ts 609 bytes [built]
| [] 7361ms -> factory:170ms building:2ms dependencies:784ms = 8317ms
| ./src/app/app.component.ts 2.82 KiB [built]
| [] 7361ms -> factory:170ms building:2ms dependencies:784ms = 8317ms
| ./src/app/index.ts 45 bytes [built]
| [] 7361ms -> factory:170ms building:2ms dependencies:784ms = 8317ms
| ./src/app/app.service.ts 1.29 KiB [built]
| [] 7361ms -> [] 172ms -> factory:1611ms building:5ms dependencies:842ms = 9991ms
| ./src/app/app.module.ts 2.33 KiB [built]
| [] 7361ms -> [] 172ms -> factory:477ms building:8ms dependencies:287ms = 8305ms
| ./src/app/home/index.ts 34 bytes [built]
| [] 7361ms -> [] 172ms -> [] 485ms -> factory:2094ms building:627ms dependencies:1877ms = 12616ms
| ./src/app/about/index.ts 35 bytes [built]
| [] 7361ms -> [] 172ms -> [] 485ms -> factory:2094ms building:627ms dependencies:1877ms = 12616ms
| ./src/app/no-content/index.ts 40 bytes [built]
| [] 7361ms -> [] 172ms -> [] 485ms -> factory:2094ms building:627ms dependencies:1877ms = 12616ms
| ./src/app/app.routes.ts 479 bytes [built]
| [] 7361ms -> [] 172ms -> [] 485ms -> factory:2094ms building:627ms dependencies:1877ms = 12616ms
| ./src/app/app.resolver.ts 558 bytes [built]
| [] 7361ms -> [] 172ms -> [] 485ms -> factory:2094ms building:627ms dependencies:1877ms = 12616ms
| ./src/app/home/x-large/index.ts 37 bytes [built]
| [] 7361ms -> [] 172ms -> [] 485ms -> factory:2094ms building:627ms dependencies:1877ms = 12616ms
| ./src/app/+dev-module/index.ts 55 bytes [built]
| [] 7361ms -> [] 172ms -> [] 485ms -> factory:2094ms building:627ms dependencies:1877ms = 12616ms
| ./src/app/home/home.component.ts 1.61 KiB [built]
| [] 7361ms -> [] 172ms -> [] 485ms -> [] 2721ms -> factory:259ms building:4ms dependencies:4ms = 11006ms
| ./src/app/about/about.component.ts 2.01 KiB [built]
| [] 7361ms -> [] 172ms -> [] 485ms -> [] 2721ms -> factory:265ms building:4ms dependencies:9ms = 11017ms
| + 7 hidden modules
[il4D] ./src/styles/headings.css 39 bytes {0} [built]
[] 7361ms -> [] 172ms -> [] 485ms -> factory:2094ms building:627ms dependencies:1877ms = 12616ms
[wFw1] ./node_modules/@angular/platform-browser/fesm5/animations.js + 2 modules 255 KiB {2} [built]
| 3 modules
[yLpj] (webpack)/buildin/global.js 472 bytes {2} {3} [built]
[] 7361ms -> [] 172ms -> [CcnG] 1616ms -> factory:2484ms building:4ms dependencies:748ms = 12385ms
[zn8P] ./$$_lazy_route_resource lazy namespace object 160 bytes {0} [built]
[] 7361ms -> [] 172ms -> [CcnG] 1616ms -> factory:2484ms building:4ms dependencies:748ms = 12385ms
+ 283 hidden modules
WARNING in ./node_modules/@angular/core/fesm5/core.js 4982:15-36
System.import() is deprecated and will be removed soon. Use import() instead.
For more info visit https://webpack.js.org/guides/code-splitting/
@ ./src/app/app.component.ts 5:0-61 26:8-17 28:27-44
@ ./src/main.browser.ts
WARNING in ./node_modules/@angular/core/fesm5/core.js 4994:15-102
System.import() is deprecated and will be removed soon. Use import() instead.
For more info visit https://webpack.js.org/guides/code-splitting/
@ ./src/app/app.component.ts 5:0-61 26:8-17 28:27-44
@ ./src/main.browser.ts
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
vendors~main.def96091d36cb32b663f.chunk.js (953 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (963 KiB)
vendors~main.def96091d36cb32b663f.chunk.js
main-3136c6f2ec7287c96f8c.css
main.622918cce37fabb75c78.bundle.js
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[MFLM] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 2.65 KiB {0} [built]
factory:6971ms building:41ms = 7012ms
[YuTi] (webpack)/buildin/module.js 497 bytes {0} [built]
[MFLM] 7012ms -> [LvDl] 322ms -> factory:78ms building:2ms = 7414ms
[yLpj] (webpack)/buildin/global.js 472 bytes {0} [built]
[MFLM] 7012ms -> [LvDl] 322ms -> factory:78ms building:2ms = 7414ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/index.js!node_modules/sass-loader/lib/loader.js!src/styles/styles.scss:
Entrypoint mini-css-extract-plugin = *
[s0P2] ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./src/styles/styles.scss 543 bytes {0} [built]
factory:3ms building:614ms = 617ms
+ 1 hidden module
Child mini-css-extract-plugin node_modules/css-loader/index.js!src/styles/headings.css:
Entrypoint mini-css-extract-plugin = *
[8wBD] ./node_modules/css-loader!./src/styles/headings.css 188 bytes {0} [built]
factory:3ms building:2ms = 5ms
+ 1 hidden module
Muhammads-MacBook-Pro:angular-starter m.tahir$
from patrickjs-starter.
same problem
from patrickjs-starter.
Close due to inactivity
from patrickjs-starter.
Related Issues (20)
- Cannot redeclare block-scoped variable 'console'.
- Issue - A lot of npm WARN deprecated
- Not allowing override metadata values using "webpack Environment Options" comand line arguments.
- Oops
- I did this error when I performed npm install why? Thank you
- ear
- Angular v6 install issue
- Angular 7 and ng-library support HOT 7
- Unable to load project using npm start HOT 1
- Is this repository active? HOT 7
- A client karma-conf key duplicated
- images HOT 1
- upgrade angular 8 not working
- Angular webpack aot build taking hours to generate dist file
- How to add Web Worker to Angular 4.3 ?
- styles from src/styles.css not included by this webpack config. why?
- What's going on with this repository? HOT 3
- Welcome back to Angular Starter HOT 11
- Failed to compile HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patrickjs-starter.