npm ERR! code 128 Command failed: git clone remote: HTTP Basic: Access denied
I am trying to 'npm install' my angular CLI project on my new laptop (OS: Ubuntu 16.04) using SSH keys. My project uses some dependencies from my gitlab. When I try to 'npm install', I see the error like this:
npm ERR! code 128
npm ERR! Command failed: git clone --template=/home/home/.npm/_git-remotes/_templates --mirror https://gitlab.myProjectName.com/myFolder /home/home/.npm/_git-remotes/git-https-gitlab-myProjectName-com-myFolder
npm ERR! Cloning to an empty repository «/home/home/.npm/_git-remotes/git-https-gitlab-myProjectName-com-myFolder
npm ERR! remote: HTTP Basic: Access denied
npm ERR! fatal: Authentication failed for 'https://gitlab.myProjectName.com/myFolder/.git/'
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /home/home/.npm/_logs/2018-03-15T17_07_19_179Z-debug.log
I tried to use sudo npm -g homebridge-harmonyhub but It didn't help
I also tried to reinstall node, npm, git and some similar actions, but nothing could help me.