Topic: Gitlab authentication error
IntraStage free asked 2 years 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:*@git.mdbootstrap.com/mdb/react/re-pro npm ERR! remote: HTTP Basic: Access denied npm ERR! fatal: Authentication failed for 'https://git.mdbootstrap.com/mdb/react/re-pro/'
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 2 years ago
Hi!
We checked your accesses and everything looks good. Could you try to:
- Update an npm
- Install with a
--legacy-peer-deps
flag using npm - Install using
yarn
instead ofnpm
- Check if everything in your Windows Credential Manager is good/Clear your Windows Credential Manager
- Use SSH authentication instead of an HTTP one
And tell me if some solution from this list works?
Keep coding!
IntraStage free commented 2 years ago
running: git ls-remote -h -t https://oauth:*@git.mdbootstrap.com/mdb/react/re-pro
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 git@git.mdbootstrap.com" and get "git@git.mdbootstrap.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic)."
Adam Jakubowski staff commented 2 years ago
Hi @IntraStage,
I've reached out to you via the email address assigned to your mdbootstrap account.
Keep coding
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: 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