evieira357 pro asked 5 years ago


Hi Guys, I just started my firsts steps to developer my first angular project and i decide to use MDB to help me make more with less effort... After download de base project (ng-uikit-pro-standard-6.2.3-npm) i notice the the version of @angular is  ^6.0.0 and i have tried so many approaches to update and none of them works well. my question is: How can update it? PS. When i use "npm update" i receive this error message: npm ERR! code E404 npm ERR! 404 Not found : ng-uikit-pro-standardnpm ERR! 404 npm ERR! 404 'ng-uikit-pro-standard' is not in the npm registry.npm ERR! 404 You should bug the author to publish it (or use the name yourself!)

evieira357 pro answered 5 years ago


Dear Arkadiusz Idzikowski Thanks a lot to help me to solve this little questions… You’re right, after run npm install and typing npm -v, then command show me the major version of angular 6.1.7. I need to confess the I didn’t the utility of Caret before the number version, thanks to give me this tip.   Best regards, Edson

Arkadiusz Idzikowski staff answered 5 years ago


Dear evieira357, You can change those version numbers in package.json and run npm install again (latest supported version by MDB is 6.1.6). Regards, Arek

evieira357 pro answered 5 years ago


Hi Arek, thanks to answered me, i believe that my question was a little confuse, let me try to better put my doubt. if you look to file package.json into (ng-uikit-pro-standard-6.2.3) you'll see the version such as: "@angular/animations": "^6.0.0", "@angular/common": "^6.0.0", "@angular/core": "^6.0.0", "@angular/forms": "^6.0.0", and so on... And if you use de command (ng new my-project) and after open the same file (package.json) you´ll see: "@angular/common": "^6.1.0", "@angular/compiler": "^6.1.0", "@angular/core": "^6.1.0", "@angular/forms": "^6.1.0", and so on... How you can see, the versions when you create a new projet it the current version of the angular repository, my question was straightforward to how can i update this version using the base project download (ng-uikit-pro-standard-6.2.3-npm.zip).

Arkadiusz Idzikowski staff answered 5 years ago


Dear evieira357, If you use our MDB Pro npm version then you already should have new Angular version. You can it's number with ng -v command. Regards, Arek

evieira357 pro commented 5 years ago

Hi Arek, thanks to answered me, i believe that my question was a little confuse, let me try to better put my doubt. if you look to file package.json into (ng-uikit-pro-standard-6.2.3) you'll see the version such as: "@angular/animations": "^6.0.0", "@angular/common": "^6.0.0", "@angular/core": "^6.0.0", "@angular/forms": "^6.0.0", and so on... And if you use de command (ng new my-project) and after open the same file (package.json) you´ll see: "@angular/common": "^6.1.0", "@angular/compiler": "^6.1.0", "@angular/core": "^6.1.0", "@angular/forms": "^6.1.0", and so on... How you can see, the versions when you create a new projet it the current version of the angular repository, my question was straightforward to how can i update this version using the base project download (ng-uikit-pro-standard-6.2.3-npm.zip).


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

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.2
  • Device: PC
  • Browser: Chrome
  • OS: Wins 10
  • Provided sample code: No
  • Provided link: No