Topic: Updating to Angular 6 getting error

floatingleaf pro asked 6 years ago


I have just tried to update an angular app to version 6 using ng update and I am getting the following error message.Registry returned 404 for GET on https://registry.npmjs.org/ng-pro. I have the dependency set as in the start up guide for the pro version as well with my id from GitHub. It even installed correctly using npm/yarn, but then when I use the ng update or ng update --migrate-only. It will not build or run as it has not converted the angular-cli.json file. Adrian

Dawid Adach pro commented 6 years ago

Could you check if removing ng-pro from node_modules and running npm install works correctly?

Damian Gemza staff commented 6 years ago

Dear flotingleft, Probably in the package.json file you're having "ng-pro" instead ng "ng-mdb-pro". Please check it, and let us know if it works fine now. Best Regards, Damian


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags