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

update angular 4 to angular 5 #71

Open
ghatfan99 opened this issue Oct 4, 2018 · 3 comments
Open

update angular 4 to angular 5 #71

ghatfan99 opened this issue Oct 4, 2018 · 3 comments

Comments

@ghatfan99
Copy link

Hello,
I am trying to update my angular project from version 4 to 5, in my project the version of ngx-admin-lte is 0.2.0
and i have this error when i try to do ng serve:
ERROR in node_modules/ngx-admin-lte/src/ngx-admin-lte.module.ts(12,34): error TS2345: Argument of type 'HttpClient' is n ot assignable to parameter of type 'HttpClient'. Types have separate declarations of a private property 'handler'.

for more details I asked for help on stackoverflow:
https://stackoverflow.com/questions/52648960/argument-of-type-httpclient-is-n-ot-assignable-to-parameter-of-type-httpclien

Is ther a method to update the local version of ngx-admin-lte package to tha last one in my project?
Shall i uninstall the package and reinstall it ?
thanks for your help

@TwanoO67
Copy link
Owner

TwanoO67 commented Oct 4, 2018

Hello,

You shoud try with the last 2.x beta for new angular versions

@ghatfan99
Copy link
Author

Hello,
What is th best way to do that?
the steps for doing that after I get my project from git and before npm install or after:

  1. npm uninstall ngx-admin-lte
  2. npm install ngx-admin-lte
    thanks

@TwanoO67
Copy link
Owner

TwanoO67 commented Oct 5, 2018

npm install [email protected] --save

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

No branches or pull requests

2 participants