Topic: Can't download package from ng-uikit-pro-standard url on build server

vazom pro asked 5 years ago


Expected behavior Success npm install on build server

Actual behavior

I keep getting the below error on my build step when trying npm install

[npm install] npm ERR! enoent Error while executing:

[npm install] npm ERR! enoent undefined ls-remote -h -t https://oauth2:myaccesstoken@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git

even though in my package.json my dependency is defined as

"ng-uikit-pro-standard": "git+https://oauth2:myaccesstoken@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git",

NB: I have removed the access token here

Please kindly assist what i am missing here. Because the npm install works on my local computer however when i take it to build server i get the above error.

Resources (screenshots, code snippets etc.)



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.2.0
  • Device: laptop
  • Browser: Build server
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes