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: Suddenly no more Access to GitLab Repo

t.kehl premium asked 3 years ago


When I try to install npm package, I suddenly get the error:

2021-12-02T15:32:32.9477398Z [command]/usr/local/bin/npm install
2021-12-02T15:33:23.6805577Z npm WARN old lockfile 
2021-12-02T15:33:23.6807475Z npm WARN old lockfile The package-lock.json file was created with an old version of npm,
2021-12-02T15:33:23.6808382Z npm WARN old lockfile so supplemental metadata must be fetched from the registry.
2021-12-02T15:33:23.6808981Z npm WARN old lockfile 
2021-12-02T15:33:23.6809776Z npm WARN old lockfile This is a one-time fix-up, please be patient...
2021-12-02T15:33:23.6810408Z npm WARN old lockfile 
2021-12-02T15:33:23.6810930Z npm WARN old lockfile Error: An unknown git error occurred
2021-12-02T15:33:23.6811995Z npm WARN old lockfile     at makeError (/usr/local/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13)
2021-12-02T15:33:23.6813092Z npm WARN old lockfile     at /usr/local/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:36:26
2021-12-02T15:33:23.6813736Z npm WARN old lockfile     at runMicrotasks (<anonymous>)
2021-12-02T15:33:23.6814336Z npm WARN old lockfile     at processTicksAndRejections (node:internal/process/task_queues:96:5)
2021-12-02T15:33:23.6816236Z npm WARN old lockfile  Could not fetch metadata for ng-uikit-pro-standard@git+https://oauth2:***@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git#c91a2b3169687483cd80e8f33ab9c19ce4a2497d GitUnknownError: An unknown git error occurred
2021-12-02T15:33:23.6825213Z npm WARN old lockfile     at makeError (/usr/local/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13)
2021-12-02T15:33:23.6826076Z npm WARN old lockfile     at /usr/local/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:36:26
2021-12-02T15:33:23.6826622Z npm WARN old lockfile     at runMicrotasks (<anonymous>)
2021-12-02T15:33:23.6827302Z npm WARN old lockfile     at processTicksAndRejections (node:internal/process/task_queues:96:5) {
2021-12-02T15:33:23.6828063Z npm WARN old lockfile   cmd: 'git',
2021-12-02T15:33:23.6828545Z npm WARN old lockfile   args: [
2021-12-02T15:33:23.6829160Z npm WARN old lockfile     '--no-replace-objects',
2021-12-02T15:33:23.6829796Z npm WARN old lockfile     'ls-remote',
2021-12-02T15:33:23.6830995Z npm WARN old lockfile     'https://oauth2:***@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git'
2021-12-02T15:33:23.6831985Z npm WARN old lockfile   ],
2021-12-02T15:33:23.7351346Z npm WARN old lockfile   code: 128,
2021-12-02T15:33:23.7352238Z npm WARN old lockfile   signal: null,
2021-12-02T15:33:23.7352902Z npm WARN old lockfile   stdout: '',
2021-12-02T15:33:23.7353550Z npm WARN old lockfile   stderr: "remote: The project you were looking for could not be found or you don't have permission to view it.\n" +
2021-12-02T15:33:23.7354409Z npm WARN old lockfile     "fatal: repository 'https://git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git/' not found\n"
2021-12-02T15:33:23.7355131Z npm WARN old lockfile }
2021-12-02T15:33:23.7355396Z npm ERR! code ERESOLVE
2021-12-02T15:33:23.7355762Z npm ERR! ERESOLVE unable to resolve dependency tree

I have revoked and recreated the access token, but it still do not work.

Can you help me please? Thank you.

edit: When I do install the package with git-url local on my machine, it works. It seems only not working when I do this on Azure DevOps.



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: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB4 10.1.1
  • Device: Server
  • Browser: Chrome
  • OS: Azure DevOps
  • Provided sample code: No
  • Provided link: No