Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metdata version mismatch #257

Closed
Keksdroid opened this issue Nov 8, 2017 · 4 comments
Closed

Metdata version mismatch #257

Keksdroid opened this issue Nov 8, 2017 · 4 comments
Labels

Comments

@Keksdroid
Copy link

Hello,
I just wanted to update from 4.0.0-beta-11 to 4.0.1, but I'm getting the following error:
ERROR in Metadata version mismatch for module .../node_modules/ngx-page-scroll/src/ngx-page-scroll.directive.d.ts, found version 4, expected 3, resolving symbol AppModule in .../src/app/ app.module.ts, resolving symbol AppModule in .../src/app/app.module.ts

I installed the new version by running 'npm install ngx-page-scroll --save' and changed everything in my code from ng2 to ngx.
Angular Version is 4.4.6. Is that maybe the problem? Is version 5 required now?

@moffer
Copy link

moffer commented Nov 8, 2017

I was at version 4.0.0, everything work. Now a new npm install says the same error as above.

@mikebrsv
Copy link

mikebrsv commented Nov 8, 2017

Same error here. Updated from ng2-page-scroll 4.0.0-beta-11 to ngx-page-scroll 4.0.1 on Angular 4.4.6. CLI version 1.4.9.

@adamdport
Copy link

Rolling back to v4.0.0 gets me by for now, npm install [email protected]

@Nolanus Nolanus added the bug label Nov 9, 2017
@Nolanus Nolanus closed this as completed in aa608fe Nov 9, 2017
@Nolanus
Copy link
Owner

Nolanus commented Nov 9, 2017

Please try the latest v4.0.2 release. The metadata.json files are generated with angular 4 compiler again to keep them backward compatible.

@Nolanus Nolanus mentioned this issue Dec 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants