Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Angular PRO Not Working

.jodadev. pro asked 6 years ago


Hello, I recently installed the PRO version of Angular but still havent been able to run it successfully on my project. I followed all the instructions on this page: https://mdbootstrap.com/angular/5min-quickstart/ using the npm installation PRO method; but it didnt work, I get a bunch of errors when I try to open it and one of them is: error TS2307: Cannot find module 'ng-uikit-pro-standard'. Any idea what this could be? and how to successfully add MDB PRO to my angular project? Thanks.

.jodadev. pro answered 6 years ago


So it seems to finally work whenever I copy and past the ng-uikit-pro-standard folder that is in the node_modules of the original folder that is downloaded, into the node_modules of another project I want to integrate with MDB Angular. Is this the correct way of doing this? Nowhere in the turorials/explinations is this mentioned so I wonder if this is the correct way.

Damian Gemza staff commented 6 years ago

Dear jonathan, If you're having an existing project, and you want to install MDB Angular Pro in it, you have to do it by executing a npm install git+https command. It's described in our 5min-quickstart guide under PRO tab. Please check it: https://mdbootstrap.com/angular/5min-quickstart/ Best Regards, Damian

.jodadev. pro commented 6 years ago

Hi Damian, If you read my original post, you'll see that I followed all the instructions in that link using the npm install and the issues were still present. I get a bunch of errors when I try to open it and one of them is: error TS2307: Cannot find module ‘ng-uikit-pro-standard’. Any idea why this could be? thanks.

Damian Gemza staff commented 6 years ago

Jonathan, Please provide me with those errors and paste me here your app.module.ts (or other module where you're using MDB Angular), angular.json, package.json. Best Regards, Damian

rewardstay pro commented 6 years ago

Jonathan, I would suggest you download the version in GitLab with your pro account and copy the folder "ng-uikit-pro-standard" to the node_modules folder for your project. Also, be sure add "node_modules/ng-uikit-pro-standard/assets/scss/mdb.scss" and other references to your angular.json file and make sure the entry "ng-uikit-pro-standard": "^6.2.1" is one of the dependencies in your package, if it's not already there. Any references to "angular-bootstrap-md" is the free version, what you need to have is "ng-uikit-pro-standard", this the pro version.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

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