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

ERROR in Metadata version mismatch for module #24

Closed bosunolanrewaju closed 6 years ago

bosunolanrewaju commented 6 years ago

After installing the module. Running ng serve produces the error and angular is unable to compile.

ERROR in Metadata version mismatch for module /my-project/node_modules/jw-bootstrap-switch-ng2/dist/index.d.ts, found version 4, expected 3,resolving symbol AppModule in /my-project/src/app/app.module.ts, resolving symbol AppModule in /my-project/src/app/app.module.ts

Angular: 4.2.4 jw-bootstrap-switch-ng2: 1.0.10

JulioWar commented 6 years ago

Hello @bosunolanrewaju, Yes I saw that, I was working on update for angular 5, please downgrade the version to the 1.0.8. It's the same thing. Sorry for this issue.

bosunolanrewaju commented 6 years ago

@JulioWar Thanks for your response, I will give that a shot.

bosunolanrewaju commented 6 years ago

@JulioWar, 1.0.8 works as expected. Thanks