Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: How to fix npm install error for ng-uikit-pro-standard

Subrata Paul pro asked 6 years ago


Hi Support , I'am unable to install MDB Pro Packages. Getting following error message -   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.

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

AFA premium answered 3 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 3 years ago

@AFA Please make sure that you have installed git: https://github.com/git-guides/install-git


xdon82 free 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).


Damian Gemza staff answered 6 years ago


Dear Subrata Paul, Your problem is described on those pages. Just read those articles, and use solutions which are posted there. Best Regards, Damian

Jordan free commented 6 years ago

I still receive a 128 error code when utilizing all solutions mentioned in the links.

Jordan free commented 6 years ago

It is worth noting that the error is undefined. npm ERR! npm ERR! undefined npm ERR! exited with error code: 128

Damian 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, Damian

xdon82 free 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/


Arkadiusz Idzikowski staff answered 6 years ago


Dear Subrata Paul, Please check if you have git installed by typing 'git --version' in your console. Regards, Arek

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 Paul

Arkadiusz Idzikowski staff commented 6 years ago

You can download the installler from the official website: https://git-scm.com/downloads

Subrata 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 Paul

Subrata 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 Paul


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

  • ForumUser: 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