Topic: npm mdb version locking

Daniel Braun priority asked 6 years ago


Hello is there a way to lock to a angular-mdb-pro version when installing via npm?   My problem is I have multiple computers and if I havent updated a project to the newest version of mdb and I move to a computer where I have not setup that project I need to install a older version.

nick.celestin pro answered 6 years ago


See: https://git.mdbootstrap.com/mdb/angular/ng-pro/tags And: https://stackoverflow.com/questions/14187956/npm-install-from-git-in-a-specific-version In your package.json, you can address tagged versions of angular-mdb-pro by appending the git url with #version. Example: git+https://oauth2:YOUR_TOKEN@git.mdbootstrap.com/mdb/angular/ng-pro.git#5.0.5  

Daniel Braun priority commented 6 years ago

Awesome that's perfect


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: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags