求助,在deepin 下使用npm install git+仓库名,会收到如下报错
npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t 仓库地址 npm ERR! npm ERR! remote: Invalid username or password npm ERR! fatal: Authentication failed for '仓库地址' npm ERR! npm ERR! exited with error code: 128
我已经使用如下命令配置了仓库的用户名和密码,但好像并不生效,求助,感激不尽!!!!
git config user.name "Username" git config user.password "Password" git config --global user.name "Username" git config --global user.password "Password"
还有在vscode的终端下进行git 操作 ,不加sudo会报权限错误
配置一下 git config --global url."https://".insteadOf git:// 试试
Recommended
Rankings
Popular Events
求助,在deepin 下使用npm install git+仓库名,会收到如下报错
我已经使用如下命令配置了仓库的用户名和密码,但好像并不生效,求助,感激不尽!!!!