JulioWar / jw-bootstrap-switch-ng2

Bootstrap Switch for Angular 2+
https://juliowar.github.io/jw-bootstrap-switch-ng2/
MIT License
43 stars 14 forks source link

Getting Error in angular 5.0 #21

Closed Sathishchary closed 6 years ago

Sathishchary commented 6 years ago

Hi , I am converting my project from 4.3 to 5.0 , its worked perfectly in 4.3, but after upgrading my project i got below error.

ERROR in ./node_modules/jw-bootstrap-switch-ng2/dist/directive.ts Module build failed: Error: C:\Users\ksath\Documents\POC\ProjectCli\newProject\node_modules\jw-bootstrap-switch-ng2\dist\dir ective.ts is not part of the compilation output. Please check the other error messages for details. at AngularCompilerPlugin.getCompiledFile (C:\Users\ksath\Documents\POC\ProjectCli\newProject\node_modules\@ngtools\webpa ck\src\angular_compiler_plugin.js:629:23) at plugin.done.then (C:\Users\ksath\Documents\POC\ProjectCli\newProject\node_modules\@ngtools\webpack\src\loader.js:467: 39) at process._tickCallback (internal/process/next_tick.js:103:7) @ ./node_modules/jw-bootstrap-switch-ng2/dist/index.js 10:18-40 @ ./src/app/shared/shared.module.ts @ ./src/app/team/team-member.module.ts @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

thanks in advance

JulioWar commented 6 years ago

Thanks for report the issue. I'm closing this because this issue already exist. Please track this on #19