Error installing MDB5 Angular using npm


Topic: Error installing MDB5 Angular using npm

Tomahawk Uno pro premium priority asked a week ago

Hello,

I'm trying to install the MDB5 Angular using the below command and getting an error.

npm install git+https://oauth2:API-Key@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential

Below is the error:

npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote https://oauth2:*@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential npm ERR! remote: The project you were looking for could not be found or you don't have permission to view it. npm ERR! fatal: repository 'https://git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential/' not found

Can you please let me know on how to fix this issue?


Arkadiusz Idzikowski staff commented 6 days ago

Could you please try again and confirm if the problem still exists?

Did you follow our installation guide and generated new GitLab token: https://mdbootstrap.com/docs/angular/pro/installation/#section-npm?


Tomahawk Uno pro premium priority commented 5 days ago

I followed the installation guide, and I generated again a personal access token. I have installed Angular CLI version 16.18 and Node version 18.10. It is still throwing the same error message during installation.


Arkadiusz Idzikowski staff commented 4 days ago

We checked everything on our end but it seems that access was granted correctly.

Could you please also check what version of npm you are using? It seems that similar problems occurred in v8. I could not reproduce such a problem while using npm v10.2.4 and node v18.19.1


Tomahawk Uno pro premium priority commented 3 days ago

I have upgraded the node.js version to 18.19.1. I have provided you below the package version I am using for the Angular project and the error message.

Angular CLI: 18.2.14 Node: 18.19.1 Package Manager: npm 10.2.4 OS: win32 x64

Angular: 18.2.13 ... animations, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1802.14 @angular-devkit/build-angular 18.2.14 @angular-devkit/core 18.2.14 @angular-devkit/schematics 18.2.14 @angular/cli 18.2.14 @schematics/angular 18.2.14 rxjs 7.8.1 typescript 5.4.5 zone.js 0.14.10

PS C:\Temp\AngularTest_0129> npm i git+https://oauth2:[access-token]@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote https://oauth2:*@git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential npm ERR! remote: The project you were looking for could not be found or you don't have permission to view it. npm ERR! fatal: repository 'https://git.mdbootstrap.com/mdb/angular/mdb5/prd/mdb5-angular-ui-kit-pro-essential/' not found

npm ERR! A complete log of this run can be found in: C:\Users[username]\AppData\Local\npm-cache_logs\2025-01-29T15_49_10_717Z-debug-0.log


Arkadiusz Idzikowski staff commented 2 days ago

It looks like all the packages are up to date. We added some additional changes on our end. Could you please try again and confirm if it solved the problem?


Tomahawk Uno pro premium priority commented 2 days ago

Thank you for looking into this issue. I was able to install the MDB5 Angular without any issues.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 5.1.0
  • Device: laptop
  • Browser: Chrome and Edge
  • OS: Windows 10 Enterprise
  • Provided sample code: No
  • Provided link: Yes