Trouble with npm install


Topic: Trouble with npm install

nbalderas asked 4 years ago

Running script from 5 min install guide: npm install git+https://oauth2:MY_TOKEN@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save

and results in following error: enter image description here

Not sure what to do


maxizen pro premium priority commented 4 years ago

Same here; pro advanced


Arkadiusz Idzikowski staff commented 4 years ago

@nbalderas @maxizen did you create GitLab token as explained in this guide and used it in npm install command?

https://mdbootstrap.com/docs/angular/getting-started/quick-start/#token-generation

We checked everything and it looks like the access to the repository was added correctly.


maxizen pro premium priority commented 4 years ago

I tried on read_repository permission token, then on api permission token, same result: repository not found. Command: npm install git+https://oauth2:[HERE_MY_API_TOKEN]@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save

I am able to fetch repo 'https://git.mdbootstrap.com/mdb/angular/mdb4/mdb4-angular-ui-kit-pro-advanced.git' with passed gitlab token.


Arkadiusz Idzikowski staff commented 4 years ago

We will investigate this problem again and let you know what we found.

For now, please try to use installation from .tgz file. In the project downloaded from mdb-4-angular-ui-kit-pro-advanced you can find file ng-ui-kit-pro-standard-10.1.1.tgz.

Copy this file to your custom project and run npm install ng-ui-kit-pro-standard-10.1.1.tgz. It will give you the same affect as installing the library from GitLab server.


Arkadiusz Idzikowski staff answered 4 years ago

@nbalderas @maxizen you should now have access to the GitLab installation, please let us know if you encounter any further problems.


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
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 10.1.1
  • Device: web
  • Browser: chrome
  • OS: iOS
  • Provided sample code: No
  • Provided link: Yes