Topic: Gitlab authentication error

IntraStage free asked 1 year ago

Getting the following error when trying to install packages on my machine (also in our DevOps build pipeline): npm ERR! command git --no-replace-objects ls-remote https://oauth2:* npm ERR! remote: HTTP Basic: Access denied npm ERR! fatal: Authentication failed for ''

I have regenerated the token in gitlab and still get the same error. I emailed support 3 days ago but have not gotten a response and need to get an update built.

Krzysztof Wilk staff answered 1 year ago


We checked your accesses and everything looks good. Could you try to:

  1. Update an npm
  2. Install with a --legacy-peer-deps flag using npm
  3. Install using yarn instead of npm
  4. Check if everything in your Windows Credential Manager is good/Clear your Windows Credential Manager
  5. Use SSH authentication instead of an HTTP one

And tell me if some solution from this list works?

Keep coding!

IntraStage free commented 1 year ago

running: git ls-remote -h -t https://oauth:* gives me the same access denied error.
1. running the latest version of npm already 2. no difference 3. I don't have yarn, I can get it but since git is failing too I don't think that is the issue 4. nothing for gitlabs or mdbootstrap in Windows Credential Manager 5. add a SSH key to my account, tried "ssh -T" and get " Permission denied (publickey,gssapi-keyex,gssapi-with-mic)."

Adam Jakubowski staff commented 1 year ago

Hi @IntraStage,

I've reached out to you via the email address assigned to your mdbootstrap account.

Keep coding

Please insert min. 20 characters.


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



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 3.0.0
  • Device: Laptop
  • Browser: Visual Studio
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes