having issue downloading library from Git


Topic: having issue downloading library from Git

ShirleyMD pro premium priority asked 3 years ago

I navigated to the command prompt where my project folder is. Then entered the following command >npm install git+https://oauth2:[my token from git]@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential and the error says "The project you were looking for could not be found or you don't have permission to view it." fatal: repository 'https://oauth2:[token]@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essentail/' not found. exited with error code: 128

Please help. Thank you.


ShirleyMD pro premium priority answered 3 years ago

I did not put in the [ ], just use that to highlight the personal token section in the command. I opened with "run as administrator" the Visual Studio command prompt to my project folder, and entered the npm install git+ command as stated but it said "Error while executing...the project you were looking for could not be found or you don't have permission to view it". It generated an error log on my local drive saying the same thing...any suggestions? Thanks.


Marcin Luczak staff commented 3 years ago

I've checked your orders and knowing you have a pro advanced bundle I can say that you have access to the MDB Pro Advanced package instead of the MDB Pro Essential and you should be using this link: git+https://oauth2:YOUR_GITLAB_TOKEN@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-advanced to download it.


Marcin Luczak staff answered 3 years ago

Hi,

Please try passing your git token without the square brackets so the installation link looks like this: npm install git+https://oauth2:gitlab_token@git.mdbootstrap.com/mdb/standard/mdb-ui-kit-pro-essential

If this won't work, please come back to this post and we'll try other options.

Keep coding, Marcin


ShirleyMD pro premium priority answered 3 years ago

Thank you. It worked.


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
  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No