Topic: Determine current MDB-Pro version

Jan Louw pro asked 6 years ago


Hi, How do you determine the current MDB-Pro version of the code in your project?   Regards Jan

Damian Gemza staff commented 6 years ago

You're able to determine it by checking node_modules/ng-uikit-pro-standard/package.json version file (from 6.1.1 version), or by checking node_modules/ng-mdb-pro/package.json version file (only before 6.1.1 release). If you're using our zip's, unpack it, and check package.json from root directory of your archive. Best Regards, Damian

Jan Louw pro commented 6 years ago

Thank you for this. I see I'm on 6.0.2, so how do I upgrade to 6.1.1? Consider that the "ng update @angular/cli" command fails with "404" , and I apply the workaround (Registry returned 404 for GET on https://registry.npmjs.org/ng-mdb-pro ) post by removing mdb-pro from the package list for the failed "ng upgrade" process. ? Regards.

Damian Gemza staff commented 6 years ago

Dear Louw, ng update updates only your angular stuff. When you need to update our library, please type npm remove ng-mdb-pro and do npm install git+https://oauth2:your-token@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save

Jan Louw pro commented 6 years ago

Hi Damian, I've managed to upgrade to 6.1.1, but my build now is breaking with "error TS2307: Cannot find module 'ng-mdb-pro/pro'. Where can I find the documentation to upgrade to 6.1.1 of MDB-Pro? This I have to change in my project ? Regards Jan

Damian Gemza staff commented 6 years ago

Dear Louw, Every ng-mdb-pro should be now ng-uikit-pro-standard. And if you're importing some components / directives / services / interfaces from our library into your component, the import path should look like following: import { something } from 'ng-uikit-pro-standard' instead of import { something } from 'ng-mdb-pro/pro/something'. Please read one more time out 5min-quickstart guide. There's everything that you should know: https://mdbootstrap.com/angular/5min-quickstart/ Best Regards, Damian

Jan Louw pro commented 6 years ago

Damian, Thank you for your assistance. Will go through the startup instruction again. Regards

Alberto pro answered 6 years ago


Go to node_modules then ng-mdb-pro then look at the content of package.json for version Hope this helps  

Jan Louw pro commented 6 years ago

Thanks.

FREE CONSULTATION

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

Status

Closed

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