maiyaporn / angular2-wizard

Angular2 - Form Wizard Component
118 stars 119 forks source link

angular2-wizard working locally but build fail and shows following error #51

Open knavadiya opened 6 years ago

knavadiya commented 6 years ago

`Task :yarn_install yarn install v1.3.2 [1/5] Validating package.json... [2/5] Resolving packages... warning Resolution field "uglify-es@3.2.2" is incompatible with requested version "uglify-es@^3.3.4" [3/5] Fetching packages... info fsevents@1.1.3: The platform "win32" is incompatible with this module. info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation. [4/5] Linking dependencies... warning " > @angular/http@5.1.0" has incorrect peer dependency "@angular/core@5.1.0". warning " > @angular/http@5.1.0" has incorrect peer dependency "@angular/platform-browser@5.1.0". warning "angular2-wizard > bootstrap@4.1.0" has unmet peer dependency "popper.js@^1.14.0". warning " > bootstrap@4.0.0" has unmet peer dependency "popper.js@^1.12.9". [5/5] Building fresh packages... success Saved lockfile. $ node node_modules/phantomjs-prebuilt/install.js Found PhantomJS at D:\projects\beequote\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe ...verifying PhantomJS is previously installed at D:\projects\beequote\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe Done in 9.78s.

Task :webpack yarn run v1.3.2 $ yarn run cleanup && yarn run webpack:prod:main && yarn run clean-www $ rimraf build/{aot,www} $ yarn run webpack -- --config webpack/webpack.prod.js --progress --profile warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts. $ node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js --config webpack/webpack.prod.js --progress --profile 10% building modules 1/4 modules 3 11% building modules 10/11 modules 1 active ...ote\src\main\webapp\app\app.module.ts=====--------> 41% EXECUTING [35s 11% building modules 13/13 modules 0 act 12% building modules 17/18 modules 1 active ...\configuration.component.ngfact 12% building modules 24/24 modules 0 act 13% building modules 29/30 modules 1 active ...sword\password.component.ngfact 14% building modules 37/37 modules 0 act 16% building modules 53/54 modules 1 active ...teclone-dialog.component.ngfact 16% building modules 56/57 modules 1 active 22% building modules 104/107 mo 42% building modules 267/303 modules 36 active ...duct\quoteproduct-dialog.component.ts 46% building modules 302/329 mo 67% building modules 616/647 modules 31 active ...\core-js\modules\es6.function.name.js 69% building modules 733/743 mo 23653ms building modules 63ms sealing--> 41% EXECUTING [43s] 0ms optimizing 0ms basic module optimization 100ms module optimization 0ms advanced module optimization s] 0ms basic chunk optimization 0ms chunk optimization 0ms advanced chunk optimization 69% building modules 791/793 mo2168ms building modules 6ms module and chunk tree optimization 0ms chunk modules optimization 0ms advanced chunk modules optimization 7ms module reviving 0ms module order optimization 2ms module id optimization 3ms chunk reviving 0ms chunk order optimization 23ms chunk id optimization 398ms hashing 0ms module assets processing [45s] 517ms chunk assets processing 0ms additional chunk assets processing 92% recording 15ms recording 16265ms additional asset processing 0ms chunk asset optimization [1m 2s] 94% asset optimizationMergetJsonsWebpackPlugin compilation started... MergetJsonsWebpackPlugin compilation completed... (node:5528) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): ValidationError: "swDest" is not a supported parameter. (node:5528) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 563ms asset optimization 95% emittingMergetJsonsWebpackPlugin emit starts... MergetJsonsWebpackPlugin emit completed... 790ms emitting :webpack Hash: 46c74a1bb85aef345cb3 Version: webpack 3.10.0 Time: 49203ms 56 assets [30] ./src/main/webapp/app/entities/quote-master/quote-master.service.ts 3.77 kB {2} [built] [] -> factory:862ms building:16ms dependencies:2597ms = 3475ms [31] ./src/main/webapp/app/entities/item/item.service.ts 3.96 kB {2} [built] [] -> factory:440ms building:0ms dependencies:2554ms = 2994ms [32] ./src/main/webapp/app/entities/quotebuilder/quotebuilder.service.ts 8.86 kB {2} [built] [] -> factory:216ms building:16ms dependencies:2517ms = 2749ms [34] ./src/main/webapp/app/shared/auth/principal.service.ts 3.21 kB {2} [built] [] -> factory:805ms building:16ms = 821ms [423] ./src/main/webapp/app/polyfills.ts 2.52 kB {1} [built] factory:4614ms building:16289ms = 20903ms [575] ./src/main/webapp/manifest.webapp 61 bytes {1} [built] [] -> factory:1187ms dependencies:16ms building:332ms = 1535ms [576] ./src/main/webapp/content/css/global.css 41 bytes {3} [built] factory:4617ms building:28ms = 4645ms [578] ./src/main/webapp/app/app.main.ts 507 bytes {2} [built] factory:4616ms building:16291ms = 20907ms [579] ./src/main/webapp/app/blocks/config/prod.config.ts 275 bytes {2} [built] [] -> factory:21ms building:3ms = 24ms [589] ./src/main/webapp/app/app.module.ngfactory.js 43.5 kB {2} [built] [] -> factory:25ms building:47ms dependencies:4427ms = 4499ms [746] ./src/main/webapp/app/entities/quotebuilder/quotesclone-dialog.component.ngfactory.js 20 kB {2} [built] [] -> factory:1007ms building:0ms dependencies:2876ms = 3883ms [747] ./src/main/webapp/app/entities/quotebuilder/quotebuilder-delete-dialog.component.ngfactory.js 9.19 kB {2} [built] [] -> factory:1023ms building:0ms dependencies:2876ms = 3899ms [748] ./src/main/webapp/app/layouts/main/main.component.ngfactory.js 3.57 kB {2} [built] [] -> factory:1061ms building:0ms dependencies:2667ms = 3728ms [753] ./src/main/webapp/app/blocks/interceptor/http.provider.ts 1.31 kB {2} [built] [] -> factory:4427ms building:0ms dependencies:0ms = 4427ms [790] ./node_modules/css-loader!./src/main/webapp/content/css/global.css 2.42 kB [built] [] -> factory:14ms building:1408ms = 1422ms + 776 hidden modules

ERROR in ./node_modules/angular2-wizard/index.ts Module build failed: Error: D:\projects\beequote\node_modules\angular2-wizard\index.ts is not part of the compilation output. Please check the other error messages for details. at AngularCompilerPlugin.getCompiledFile (D:\projects\beequote\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:648:23) at plugin.done.then (D:\projects\beequote\node_modules\@ngtools\webpack\src\loader.js:467:39) at at process._tickCallback (internal/process/next_tick.js:188:7) @ ./src/main/webapp/app/app.module.ngfactory.js 226:0-46 @ ./src/main/webapp/app/app.main.ts

ERROR in ./node_modules/angular2-wizard/src/wizard-step.component.ngfactory.ts Module build failed: Error: D:\projects\beequote\node_modules\angular2-wizard\src\wizard-step.component.ngfactory.ts is not part of the compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. at AngularCompilerPlugin.getCompiledFile (D:\projects\beequote\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:643:23) at plugin.done.then (D:\projects\beequote\node_modules\@ngtools\webpack\src\loader.js:467:39) at @ ./src/main/webapp/app/entities/quotebuilder/quotebuilder-dialog.component.ngfactory.js 10:0-105 @ ./src/main/webapp/app/app.module.ngfactory.js @ ./src/main/webapp/app/app.main.ts

ERROR in ./node_modules/angular2-wizard/src/wizard-step.component.ts Module build failed: Error: D:\projects\beequote\node_modules\angular2-wizard\src\wizard-step.component.ts is not part of the compilation output. Please check the other error messages for details. at AngularCompilerPlugin.getCompiledFile (D:\projects\beequote\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:648:23) at plugin.done.then (D:\projects\beequote\node_modules\@ngtools\webpack\src\loader.js:467:39) at at process._tickCallback (internal/process/next_tick.js:188:7) @ ./src/main/webapp/app/entities/quotebuilder/quotebuilder-dialog.component.ngfactory.js 11:0-64 @ ./src/main/webapp/app/app.module.ngfactory.js @ ./src/main/webapp/app/app.main.ts

ERROR in ./node_modules/angular2-wizard/src/wizard.component.ngfactory.ts Module build failed: Error: D:\projects\beequote\node_modules\angular2-wizard\src\wizard.component.ngfactory.ts is not part of the compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. at AngularCompilerPlugin.getCompiledFile (D:\projects\beequote\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:643:23) at plugin.done.then (D:\projects\beequote\node_modules\@ngtools\webpack\src\loader.js:467:39) at @ ./src/main/webapp/app/entities/quotebuilder/quotebuilder-dialog.component.ngfactory.js 8:0-100 @ ./src/main/webapp/app/app.module.ngfactory.js @ ./src/main/webapp/app/app.main.ts

ERROR in ./node_modules/angular2-wizard/src/wizard.component.ts Module build failed: Error: D:\projects\beequote\node_modules\angular2-wizard\src\wizard.component.ts is not part of the compilation output. Please check the other error messages for details. at AngularCompilerPlugin.getCompiledFile (D:\projects\beequote\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:648:23) at plugin.done.then (D:\projects\beequote\node_modules\@ngtools\webpack\src\loader.js:467:39) at at process._tickCallback (internal/process/next_tick.js:188:7) @ ./src/main/webapp/app/entities/quotebuilder/quotebuilder-dialog.component.ngfactory.js 9:0-59 @ ./src/main/webapp/app/app.module.ngfactory.js @ ./src/main/webapp/app/app.main.ts`