リソースをインストールするためにbowerを使用しようとすると、Visual Studio 2015を使用してエラーが発生します。Visual Studio 2015にリソースがインストールされていません
bower angular#1.4.5 not-cached https://github.com/angular/bower-angular.git#1.4.5
bower angular#1.4.5 resolve https://github.com/angular/bower-angular.git#1.4.5
bower angular-resource#1.4.5 not-cached https://github.com/angular/bower-angular-resource.git#1.4.5
bower angular-resource#1.4.5 resolve https://github.com/angular/bower-angular-resource.git#1.4.5
bower angular-route#1.4.5 not-cached https://github.com/angular/bower-angular-route.git#1.4.5
bower angular-route#1.4.5 resolve https://github.com/angular/bower-angular-route.git#1.4.5
bower bootstrap#3.3.5 not-cached https://github.com/twbs/bootstrap.git#3.3.5
bower bootstrap#3.3.5 resolve https://github.com/twbs/bootstrap.git#3.3.5
bower angular-resource#1.4.5 checkout v1.4.5
bower angular#1.4.5 checkout v1.4.5
bower angular-route#1.4.5 checkout v1.4.5
bower bootstrap#3.3.5 checkout v3.3.5
bower angular-resource#1.4.5 ECMDERR Failed to execute "git clone https://github.com/angular/bower-angular-resource.git -b v1.4.5 --progress . --depth 1", exit code of #-532462766
バウアーのためのディレクトリは、/ libにwwwrootにする設定がある:ここではエラーと私の出力は
{
"name": "ASP.NET",
"private": true,
"dependencies": {
"angular": "1.4.5",
"angular-resource": "1.4.5",
"angular-route": "1.4.5",
"jQuery": "2.1.4",
"bootstrap": "3.3.5"
}
}
です:
は、ここに私のbower.jsonです。 Visual StudioにはBowerがリソースをインストールしていないと言われるバグがあると言われましたが、実際にはwwwroot/libフォルダのリソースは表示されませんでしたので、これは同じバグではないと私に任せています。