Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Angular 4 Support #143

Closed
mfish0005 opened this issue Mar 16, 2018 · 5 comments
Closed

Angular 4 Support #143

mfish0005 opened this issue Mar 16, 2018 · 5 comments
Labels

Comments

@mfish0005
Copy link

mfish0005 commented Mar 16, 2018

In the most recent changelog it mentions Angular 5 as a dependency. Does this mean ng-sidebar will no longer work with versions prior to 5?

I'm using Angular 4 and can't seem to get it working with the example even after referencing #100

@arkon
Copy link
Owner

arkon commented Mar 16, 2018

What's the error you're getting (if any)? npm should complain if you're installing something where the peer deps don't match up.

@arkon
Copy link
Owner

arkon commented Mar 16, 2018

But yes, you'd need to use something below v7.0.0 if you're using Angular 4.

@mfish0005
Copy link
Author

I updated my project to Angular 5 and it works great now. Thanks for this it saves me a ton of work!

@arkon arkon closed this as completed Mar 17, 2018
@arkon arkon added the question label Mar 17, 2018
@mfish0005
Copy link
Author

Just in case someone else has a similar problem this was the npm warning:
UNMET PEER DEPENDENCY +-- angular@5.0.x +
Or something along those lines

@vgogov
Copy link

vgogov commented Apr 30, 2018

Also the case if you get something similar when building the project:

ERROR in Metadata version mismatch for module /home/user/blabla/node_modules/ng-sidebar/lib/index.d.ts, found version 4, expected 3.

If you are using Angular 4, just install version 6.0.5 of ng-sidebar :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants