themyth92 / angular2-lightbox

Lightbox2 port to use with angular2
MIT License
32 stars 18 forks source link

angular2-lightbox found version 4, expected 3 #42

Closed SCLeonardoMedina closed 6 years ago

SCLeonardoMedina commented 6 years ago

HI, please help me, I have this error but I can't resolve

ERROR in Metadata version mismatch for module C:/Users/leoz3/Documents/ameixt2/node_modules/angular2-lightbox/index.d.ts, found version 4, expected 3, resolving symbol AppModule in C:/Users/leoz3/Documents/ameixt2/src/app/app.module.ts, resolving symbol AppModule in C:/Users/leoz3/Documents/ameixt2/src/app/app.module.ts

themyth92 commented 6 years ago

Which lightbox version are u using as well as angular version ?

casillas10 commented 6 years ago

I have met the similar problem for the "angular2-lightbox@1.2.2", but when I install "angular2-lightbox@1.2.1", the error disappeared.

My environments are

Angular CLI: 1.6.5
Node: 9.3.0
OS: win32 x64
Angular: 4.4.6
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router, tsc-wrapped

@angular/cli: 1.6.5
@angular-devkit/build-optimizer: 0.0.41
@angular-devkit/core: 0.0.28
@angular-devkit/schematics: 0.0.51
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.5
@schematics/angular: 0.1.16
typescript: 2.3.4
webpack: 3.10.0
themyth92 commented 6 years ago

Right tks, I will test again with angular4 👍 . For now just use version 1.2.1