Upgrading to Angular 7 fails


Topic: Upgrading to Angular 7 fails

mdb2 pro asked 6 years ago

Upgrading to Angular 7 fails with:

ng update @angular/cli @angular/core 404 Not Found - GET https://registry.npmjs.org/ng-uikit-pro-standard - Not found Package "ngx-webstorage" has an incompatible peer dependency to "@angular/core" (requires "^5.0.0" (extended), would install "7.2.4"). Incompatible peer dependencies found. See above.


Damian Gemza staff answered 6 years ago

Dear mdb2,

Before using the ng update command, you have to remove the ng-uikit-pro-standard dependency from the package.json file.

This is caused by this, that the ng-uikit-pro-standard is not available on npm, so ng update won't find it and update.

After updating just add it again, and install the latest version.

Best Regards,

Damian


mdb2 pro answered 6 years ago

Eventually it worked, thanks


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: NA
  • Browser: NA
  • OS: NA
  • Provided sample code: No
  • Provided link: Yes