我们在应用程序中使用Durandal,我们使用bower来获取依赖项。现在,当我们尝试在项目中安装依赖项时,我们开始收到此错误:
bower durandal#2.2.0 ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/BlueSpire/Durandal-Bower.git", exit code of #128 remote: Invalid username or password. fatal: Authentication failed for 'https://github.com/BlueSpire/Durandal-Bower.git/'
这很奇怪,因为它运行良好。
如何解决这个问题?
问题是存储库已被存档(似乎该项目已被Aurelia取代(。
您需要下载它,创建一个新的GitHub项目,然后指向Bower使用它。