Topic: Failed installation od MDB Pro

Declan Ward priority asked 4 years ago


Versions:

Angular CLI: 8.3.16
Angular 8.2.3
Node: 12.13

I have tried from the command line and by placing a dependency in package.json.

Expected behavior MDBBootstrap Pro should install

Actual behavior npm ERROR

Resources (screenshots, code snippets etc.)

PS D:\DNN_Development\Angular\test-app> npm install git+https://oauth2:MY-TOKEN-WAS-HERE@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save
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-WAS-HERE@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

The log shows:
silly install loadAllDepsIntoIdealTree
silly fetchPackageMetaData error for ng-uikit-pro-standard@git+https://oauth2:MY-TOKEN-WAS-HERE@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git Error while executing:
silly fetchPackageMetaData undefined ls-remote -h -t https://oauth2:MY-TOKEN-WAS-HERE@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git


Arkadiusz Idzikowski staff commented 4 years ago

Do you have git installed on your computer?


Declan Ward priority commented 4 years ago

Problem solved with a simple question. Thank you :) This is a new PC I am setting up hence I had no problems on my odler PC and I could not see what I had missed in setting up the new PC.



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 8.5.0
  • Device: Desktop
  • Browser: FF
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes