Topic: Git lab repository not found
sdarmaraj free asked 5 years ago
I'm following the instructions to add MD pro angular module using npm installation as mentioned in the link https://mdbootstrap.com/docs/angular/getting-started/quick-start/.
In the above link, under NPM installation-->pro-->Step 5 I'm unable to navigate to the provided link "Navigate to given repository, switch GIT to HTTP and copy it's url i.e. : https://git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git"
Please suggest
sdarmaraj free answered 5 years ago
Hi Damian,
I ran the command as you mentioned with my key and I am getting "npm not being able to find a file". Can you please help.
Error From Log file: verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\sdarmaraj\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "git+https://oauth2:@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git" "--save" verbose node v10.16.0 verbose npm v6.10.1 error path git error code ENOENT error errno ENOENT error syscall spawn git error enoent Error while executing: error enoent undefined ls-remote -h -t https://oauth2:@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git error enoent error enoent error enoent spawn git ENOENT error enoent This is related to npm not being able to find a file. verbose exit [ 1, true ]
Thanks
Satiesh
sdarmaraj free commented 5 years ago
Looks like it is not able to find the path git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git. Can this be fixed quickly we are in middle of development.
Mateusz Leciejewski staff commented 5 years ago
Dear [@sdarmaraj](/profile/?id=70357),
Please check your email inbox.
Best regards, Mateusz
sdarmaraj free commented 5 years ago
Hello Mateusz,
Thanks for your help and we are able to install the software now.
Satiesh.
Damian Gemza staff answered 5 years ago
Dear @sdarmaraj
There are described everything. You have to log in into our GitLab server, generate the key, and pass it into the proper field in the below command:
npm install git+https://oauth2:<your-token-from-mdb-gitlab>@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.0.0
- Device: NA
- Browser: Na
- OS: Windows
- Provided sample code: No
- Provided link: Yes