Topic: How to fix npm install error for ng-uikit-pro-standard
Subrata Paul pro asked 6 years ago
Arkadiusz Idzikowski staff answered 6 years ago
Subrata Paul pro commented 6 years ago
Dear Arek, Thanks for your reply. No I don't have git. MDB PRO\FACTERPNG-CLIENT>git --version 'git' is not recognized as an internal or external command, operable program or batch file. Is it required for mdb? If so, How to install git? Regards, Subrata PaulArkadiusz Idzikowski staff commented 6 years ago
You can download the installler from the official website: https://git-scm.com/downloadsSubrata Paul pro commented 6 years ago
Dear Arek, After Git installation, I'm getting following error. npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://oauth2:MySecrateToken@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git npm ERR! npm ERR! fatal: unable to access 'https://oauth2:MySecrateToken@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git/': SSL certificate problem: self signed certificate in certificate chain npm ERR! npm ERR! exited with error code: 128 Regards, Subrata PaulSubrata Paul pro commented 6 years ago
Dear Arek, Still I'm unable to install MDB Pro, waiting for your reply.. Please provide me the proper solution ASAP. Regards, Subrata PaulDamian Gemza staff answered 6 years ago
McFarland commented 6 years ago
I still receive a 128 error code when utilizing all solutions mentioned in the links.McFarland commented 6 years ago
It is worth noting that the error is undefined. npm ERR! npm ERR! undefined npm ERR! exited with error code: 128Damian Gemza staff commented 6 years ago
Dear McFarland, Could you please provide me the full log from your console? Those three lines don't tell me anything. Best Regards, Damianxdon82 commented 5 years ago
He likely gets same error like in my case. You can check here, hence I'm waiting for the answer ASAP too. I can't work with MDB because of that. Manual installation using downloaded files is incomplete. Nothing about how to register package and combine it with project not using npm repo (just using local files - those downloaded) https://mdbootstrap.com/support/vue/error-on-mdbvue-pro-installation-via-npm/
xdon82 answered 5 years ago
Hi folks. Since many people get same issue, it's time to put the info into installation manual, as there is nothing about that. :) I have same problem
Arkadiusz Idzikowski staff commented 5 years ago
We will add information about that to the installation guide or faq. Did you manage to resolve this problem with the solutions provided in this topic? This command should help: git config --global http.sslVerify false
(please note that it might be considered a security risk and should be implemented only temporary).
AFA pro premium answered 4 years ago
Hi, I have an existing project with angular 8 i tried to install npm for MDB pro with the below npm but it is giving me error can you suggest me about the issue. npm install git+https://oauth2:my_token@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save
Errors are npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno ENOENT npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://oauth2:my_token@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache_logs\2021-02-04T14_50_17_247Z-debug.log
Arkadiusz Idzikowski staff commented 4 years ago
@AFA Please make sure that you have installed git: https://github.com/git-guides/install-git
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: Windows
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
Subrata Paul pro commented 6 years ago
Hi Support , Still I'm unable to Install MDB Pro Packages. Same error as previous. MDB PRO\FACTERPNG-CLIENT>npm install npm ERR! code ENOGIT npm ERR! Error while executing: npm ERR! undefined ls-remote -h -t https://oauth2:MySecrateToken@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git npm ERR! npm ERR! undefined npm ERR! No git binary found in $PATH npm ERR! npm ERR! Failed using git. npm ERR! Please check if you have git installed and in your PATH. Hope, you will provide the proper solution ASAP. Regards, Subrata Paul