akveo / ngx-admin

Customizable admin dashboard template based on Angular 10+
https://akveo.github.io/ngx-admin/
MIT License
25.23k stars 7.95k forks source link

"npm start" don't work #881

Closed fquiroz closed 7 years ago

fquiroz commented 7 years ago

After that its waits and does nothing.

Swyn commented 7 years ago

There is a new path for the ionicons module ~ionicons/dist/scss/ionicons

fquiroz commented 7 years ago

Hello Swyn @Swyn I verfy and the path is OK in the /src/app/theme/sass/_ionicons.css $ionicons-font-path: ~ionicons/fonts; @import ~ionicons/scss/ionicons;

This is the file hierarchy in node_modules/ image

This is the complete console error:

npm run server:dev

ng2-admin@0.9.0 server:dev c:\Dev\angular\ng2-admin
webpack-dev-server --config config/webpack.dev.js --progress --profile --watch --content-base src/

DLL: Checking if DLLs are valid.
DLL: All DLLs are valid.

Project is running at http://localhost:3000/
webpack output is served from /
Content not from webpack is served from c:\Dev\angular\ng2-admin\src
404s will fallback to /index.html
10% building modules 5/11 modules 6 active ...n\node_modules\webpack\hot\emitter.jsloaderUtils.parseQuery() received a non-string value which can be problemati c, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.

[at-loader] Using typescript@2.0.10 from typescript and "tsconfig.json" from c:\Dev\angular\ng2-admin\tsconfig.webpack.json (in a forked process).

46% building modules 306/321 modules 15 active ...ular\ng2-admin\src\app\theme\index.ts================================== ng-router-loader ==================== ==============
Importer: c:\Dev\angular\ng2-admin\src\app\pages\pages.routing.ts
Raw Request: app/pages/login/login.module#LoginModule
Replacement: function() { return import('c:\Dev\angular\ng2-admin\src\app\pages\login\login.module') .then( function(module) { return module['LoginModu le']; } ); }
======================================================================================
================================== ng-router-loader ==================================
Importer: c:\Dev\angular\ng2-admin\src\app\pages\pages.routing.ts
Raw Request: app/pages/register/register.module#RegisterModule
Replacement: function() { return import('c:\Dev\angular\ng2-admin\src\app\pages\register\register.module') .then( function(module) { return module['Reg isterModule']; } ); }
======================================================================================
================================== ng-router-loader ==================================
Importer: c:\Dev\angular\ng2-admin\src\app\pages\pages.routing.ts
Raw Request: app/pages/dashboard/dashboard.module#DashboardModule
Replacement: function() { return import('c:\Dev\angular\ng2-admin\src\app\pages\dashboard\dashboard.module') .then( function(module) { return module['D ashboardModule']; } ); }
======================================================================================
================================== ng-router-loader ==================================
Importer: c:\Dev\angular\ng2-admin\src\app\pages\pages.routing.ts
Raw Request: app/pages/editors/editors.module#EditorsModule
Replacement: function() { return import('c:\Dev\angular\ng2-admin\src\app\pages\editors\editors.module') .then( function(module) { return module['Edito rsModule']; } ); }
======================================================================================

s ================================== ng-router-loader ==================================
Importer: c:\Dev\angular\ng2-admin\src\app\pages\pages.routing.ts
Raw Request: app/pages/forms/forms.module#FormsModule
Replacement: function() { return import('c:\Dev\angular\ng2-admin\src\app\pages\forms\forms.module') .then( function(module) { return module['FormsModu le']; } ); }
======================================================================================
================================== ng-router-loader ==================================
Importer: c:\Dev\angular\ng2-admin\src\app\pages\pages.routing.ts
Raw Request: app/pages/tables/tables.module#TablesModule
Replacement: function() { return import('c:\Dev\angular\ng2-admin\src\app\pages\tables\tables.module') .then( function(module) { return module['TablesM odule']; } ); }
======================================================================================
================================== ng-router-loader ==================================
Importer: c:\Dev\angular\ng2-admin\src\app\pages\pages.routing.ts
Raw Request: app/pages/maps/maps.module#MapsModule
Replacement: function() { return import('c:\Dev\angular\ng2-admin\src\app\pages\maps\maps.module') .then( function(module) { return module['MapsModule' ]; } ); }
======================================================================================
34939ms building modules
88ms sealing
0ms optimizing
0ms basic module optimization
19ms module optimization
91ms advanced module optimization
37ms basic chunk optimization
0ms chunk optimization
3ms advanced chunk optimization
1ms module and chunk tree optimization
32ms module reviving
13ms module order optimization
3ms module id optimization
17ms chunk reviving
0ms chunk order optimization
40ms chunk id optimization
34ms hashing
1ms module assets processing
163ms chunk assets processing
137ms additional chunk assets processing
2ms recording
0ms additional asset processing
573ms chunk asset optimization
94% asset optimization
[at-loader] Checking started in a separate process...
512ms asset optimization
83ms emitting
Hash: 9c6ea14af66da504ee6d
Version: webpack 2.2.0
Time: 36853ms
Asset Size Chunks Chunk Names
assets/img/app/typography/typo05.png 606 kB [emitted] [big]
19e65b89cee273a249fba4c09b951b74.eot 121 kB [emitted]
dd4781d1acc57ba4c4808d1b44301201.ttf 189 kB [emitted]
2c159d0d05473040b53ec79df8797d32.woff 67.9 kB [emitted]
674f50d287a8c48dc19ba404d20fe713.eot 166 kB [emitted]
912ec66d7572ff821749319396470bde.svg 444 kB [emitted] [big]
b06871f281fee6b241d60582ae9369b9.ttf 166 kB [emitted]
af7ae505a9eed503f8b8e6982036873e.woff2 77.2 kB [emitted]
fee66e712a8a08eef5805a46892932ad.woff 98 kB [emitted]
0.chunk.js 439 kB 0 [emitted] [big]
1.chunk.js 393 kB 1 [emitted] [big]
2.chunk.js 363 kB 2 [emitted] [big]
3.chunk.js 226 kB 3 [emitted]
4.chunk.js 48.2 kB 4 [emitted]
5.chunk.js 314 kB 5 [emitted] [big]
6.chunk.js 541 kB 6 [emitted] [big]
7.chunk.js 20.3 kB 7 [emitted]
8.chunk.js 11.9 kB 8 [emitted]
9.chunk.js 9.81 kB 9 [emitted]
vendor.bundle.js 2.83 MB 10 [emitted] [big] vendor
main.bundle.js 396 kB 11 [emitted] [big] main
polyfills.bundle.js 278 kB 12 [emitted] [big] polyfills
initial.css 60.5 kB 11 [emitted] main
0.chunk.js.map 425 kB 0 [emitted]
1.chunk.js.map 378 kB 1 [emitted]
2.chunk.js.map 330 kB 2 [emitted]
3.chunk.js.map 259 kB 3 [emitted]
4.chunk.js.map 54.7 kB 4 [emitted]
5.chunk.js.map 388 kB 5 [emitted]
6.chunk.js.map 560 kB 6 [emitted]
7.chunk.js.map 18.3 kB 7 [emitted]
8.chunk.js.map 11.1 kB 8 [emitted]
9.chunk.js.map 9.24 kB 9 [emitted]
vendor.bundle.js.map 3.34 MB 10 [emitted] vendor
main.bundle.js.map 368 kB 11 [emitted] main
initial.css.map 3.11 kB 11 [emitted] main
polyfills.bundle.js.map 365 kB 12 [emitted] polyfills
assets/fonts/socicon.eot 26.6 kB [emitted]
assets/fonts/socicon.svg 65 kB [emitted]
assets/fonts/socicon.woff 28.6 kB [emitted]
assets/fonts/socicon.ttf 40.6 kB [emitted]
assets/icon/android-icon-192x192.png 828 bytes [emitted]
assets/icon/apple-icon-120x120.png 1.72 kB [emitted]
assets/icon/favicon-16x16.png 1.14 kB [emitted]
assets/icon/favicon-96x96.png 1.06 kB [emitted]
assets/icon/favicon-32x32.png 1.27 kB [emitted]
assets/img/app/browsers/chrome.svg 1.16 kB [emitted]
assets/img/app/browsers/firefox.svg 2.45 kB [emitted]
assets/icon/ms-icon-144x144.png 1.66 kB [emitted]
assets/img/app/browsers/ie.svg 1.68 kB [emitted]
assets/img/app/browsers/opera.svg 1.38 kB [emitted]
assets/img/app/browsers/safari.svg 619 bytes [emitted]
assets/img/app/feed/genom.png 14.9 kB [emitted]
assets/fonts/socicon.woff2 25 kB [emitted]
assets/img/app/feed/my-little-kitten.png 68.2 kB [emitted]
assets/img/app/profile/Alexander.png 137 kB [emitted]
assets/img/app/feed/vader-and-me-preview.png 294 kB [emitted] [big]
assets/img/app/my-app-logo.png 13.5 kB [emitted]
assets/img/app/profile/Andrey.png 212 kB [emitted]
assets/img/app/feed/new-york-location.png 753 kB [emitted] [big]
assets/img/app/profile/Nasta.png 53.1 kB [emitted]
assets/img/app/profile/Nick.png 64.4 kB [emitted]
assets/img/app/profile/Kostya.png 359 kB [emitted] [big]
assets/img/app/profile/Vlad.png 47.6 kB [emitted]
assets/img/app/skin-thumbnails/01_default.jpg 84.8 kB [emitted]
assets/img/app/skin-thumbnails/02_transparent.jpg 96 kB [emitted]
assets/img/app/skin-thumbnails/03_blue.jpg 86.1 kB [emitted]
assets/img/app/skin-thumbnails/04_peachy.jpg 88.8 kB [emitted]
assets/img/app/skin-thumbnails/05_material.jpg 86.3 kB [emitted]
assets/img/app/todo/check-icon.png 223 bytes [emitted]
assets/img/app/skin-thumbnails/06_transblue.jpg 87.7 kB [emitted]
assets/img/app/typography/banner.png 343 kB [emitted] [big]
assets/img/app/typography/typo03.png 714 kB [emitted] [big]
assets/img/app/typography/typo01.png 566 kB [emitted] [big]
assets/img/app/typography/typo04.png 562 kB [emitted] [big]
assets/img/arrow-green-up.svg 969 bytes [emitted]
assets/img/arrow-red-down.svg 986 bytes [emitted]
assets/img/blue-bg.jpg 129 kB [emitted]
assets/img/blur-bg-blurred.jpg 260 kB [emitted] [big]
assets/img/blur-bg-mobile.jpg 228 kB [emitted]
assets/img/app/typography/typo07.png 818 kB [emitted] [big]
28df6ee7b407fd8a14b40bc01f4fd3ae.svg 334 kB [emitted] [big]
assets/img/chernika.png 64.6 kB [emitted]
assets/img/comments.svg 3.62 kB [emitted]
assets/img/face.svg 461 bytes [emitted]
assets/img/blur-bg.jpg 473 kB [emitted] [big]
assets/img/money.svg 468 bytes [emitted]
assets/img/green-bg.jpg 376 kB [emitted] [big]
assets/img/person.svg 253 bytes [emitted]
assets/img/shopping-cart.svg 1.4 kB [emitted]
assets/img/peachy-bg.jpg 363 kB [emitted] [big]
chunk {0} 0.chunk.js, 0.chunk.js.map 340 kB {11} [rendered]
[552] ./src/app/pages/ui/ui.module.ts 2.34 kB {0} [built]
[] -> factory:17ms building:1414ms dependencies:19ms = 1450ms
[648] ./~/ng2-bootstrap/index.js 4.83 kB {0} {1} [built]
[] -> factory:553ms building:172ms dependencies:11ms = 736ms
[723] ./src/app/pages/ui/components/icons/icons.component.ts 599 bytes {0} [built]
[] -> factory:333ms building:18011ms dependencies:9ms = 18353ms
[724] ./src/app/pages/ui/components/icons/icons.service.ts 8.46 kB {0} [built]
[] -> factory:335ms building:18056ms dependencies:1ms = 18392ms
[725] ./src/app/pages/ui/components/modals/modals.component.ts 794 bytes {0} [built]
[] -> factory:336ms building:18094ms dependencies:10ms = 18440ms
[726] ./src/app/pages/ui/components/typography/typography.component.ts 373 bytes {0} [built]
[] -> factory:337ms building:18135ms dependencies:6ms = 18478ms
[727] ./src/app/pages/ui/ui.component.ts 329 bytes {0} [built]
[] -> factory:156ms building:17442ms dependencies:0ms = 17598ms
[855] ./src/app/pages/ui/components/buttons/components/dropdownButtons/index.ts 46 bytes {0} [built]
[] -> factory:438ms building:18121ms = 18559ms
[857] ./src/app/pages/ui/components/buttons/components/flatButtons/index.ts 42 bytes {0} [built]
[] -> factory:426ms building:18101ms = 18527ms
[859] ./src/app/pages/ui/components/buttons/components/groupButtons/index.ts 43 bytes {0} [built]
[] -> factory:439ms building:18125ms = 18564ms
[861] ./src/app/pages/ui/components/buttons/components/iconButtons/index.ts 42 bytes {0} [built]
[] -> factory:436ms building:18113ms = 18549ms
[862] ./src/app/pages/ui/components/buttons/components/largeButtons/index.ts 43 bytes {0} [built]
[] -> factory:436ms building:18118ms = 18554ms
[864] ./src/app/pages/ui/components/buttons/components/raisedButtons/index.ts 44 bytes {0} [built]
[] -> factory:433ms building:18104ms = 18537ms
[866] ./src/app/pages/ui/components/buttons/components/sizedButtons/index.ts 43 bytes {0} [built]
[] -> factory:434ms building:18105ms = 18539ms
[868] ./src/app/pages/ui/ui.routing.ts 879 bytes {0} [built]
[] -> factory:155ms building:17432ms dependencies:5ms = 17592ms

[at-loader] Ok, 2.802 sec.

After the last line, it waits without anything happening
Thanks !!

Swyn commented 7 years ago

Oh ok I thought you update ionicons.

What you paste here isn't a console error it's the build log. Can you give your console logout when you go to localhost:3000 ?

nnixaa commented 7 years ago

Hey @fquiroz, well, not sure there is an error, just open your browser at http://localhost:3000 and that's it. Hope this helps.

fquiroz commented 7 years ago

Hello @Swyn , @nnixaa you were right , opened my browser at http://localhost:3000 and its woks Thanks!!