maiyaporn / angular2-wizard

Angular2 - Form Wizard Component
118 stars 119 forks source link

Error building the application (ng build -bh ./ --prod --aot) #53

Open rojasjuniore opened 6 years ago

rojasjuniore commented 6 years ago

ERROR in ./node_modules/angular2-wizard/src/wizard-step.component.ngfactory.ts Module build failed: Error: /src/wizard-step.component.ngfactory.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv). at AngularCompilerPlugin.getCompiledFile (/Users/developer/Proyectos/metropolitano/metro/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:674:23) at plugin.done.then (/Users/developer/Proyectos/metropolitano/metro/node_modules/@ngtools/webpack/src/loader.js:467:39) at ERROR in ./node_modules/angular2-wizard/src/wizard.component.ngfactory.ts Module build failed: Error: /Users/developer/Proyectos/metropolitano/metro/node_modules/angular2-wizard/src/wizard.component.ngfactory.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv). at AngularCompilerPlugin.getCompiledFile (/Users/developer/Proyectos/metropolitano/metro/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:674:23) at plugin.done.then (/Users/developer/Proyectos/metropolitano/metro/node_modules/@ngtools/webpack/src/loader.js:467:39) at

mitschmidt commented 6 years ago

Same error here - practically this makes the module unusable in an AOT context.