Visual Studio 2015 bower - not installed -
using empty template in visual studio 2015, following configuration fails install dependencies.
{ "name": "asp.net", "private": true, "dependencies": { "bootstrap": "3.0.0", "bootstrap-touch-carousel": "0.8.0", "hammer.js": "2.0.4", "jquery": "2.1.4", "jquery-validation": "1.11.1", "jquery-validation-unobtrusive": "3.2.2" } }
while same configuration web application sample template in asp.net completes successfully.
my colleagues running same problem.
is known issue? there work around? missing?
error in output window :
"c:\program files (x86)\microsoft visual studio 14.0\common7\ide\extensions\microsoft\web tools\external\bower.cmd" install --force-latest bower bootstrap#3.0.0 enotfound request https://bower.herokuapp.com/packages/bootstrap failed: getaddrinfo enotfound
so got error tinkering around configs again.
ecmderr failed execute "git ls-remote --tags --heads https://github.com/twbs/bootstrap.git", exit code of #128
i ran similar error in vs 2015 rtm (not rc). fixed me:
- install git tools (if not installed) http://git-scm.com/download/win
- in command line enter following command(or git bash if did not add git path): git config --global url."http://".insteadof git://
- in vs menu tools > options.. > projects , solutions > external web tools
- uncheck $(devenvdir)\extensions\microsoft\web tools\external\git
- add c:\program files (x86)\git\bin
hope helps.
note: experienced on mvc 5 web app, not new preview template using gulp/bower/npm tooling.
update 1 although not duplicate scenario error messages similar. wonder if override done in web application template somewhere? find if thats case. vs 2015 + bower: not work behind firewall
update 2 tried in empty project after above changes: bower bootstrap#3.0.0 not-cached git://github.com/twbs/bootstrap.git#3.0.0 bower bootstrap#3.0.0 resolve git://github.com/twbs/bootstrap.git#3.0.0
Comments
Post a Comment