Visual Studio 2015 - Bower not working

I am trying to launch a new ASP.Net MVC 5 project using the new web development features included in VS 2015. So far, I have not been able to include any banner packages through the IDE. I made some changes regarding npm, git, and bower to enable proxy configuration.

The weird thing is that using the node console to run a multiplayer game works well Success through Node console

However, when you try to execute an equivalent with an external VS tool

"C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\bower.cmd" install angular

he fails Error through VS Bower

This works behind a corporate NTLM authenticated proxy server that bypasses CNTLM. But I do not think that this can be done, since the wower version works fine. You can see the configuration

.npmrc

registry=http://registry.npmjs.org/
proxy=http://127.0.0.1:8128
http_proxy=http://127.0.0.1:8128
https_proxy=http://127.0.0.1:8128

.gitconfig

[http]
    proxy = http://127.0.0.1:8128
    sslVerify = false
[https]
    proxy = http://127.0.0.1:8128
[url "http://"]
    insteadOf = git://

.bowerrc

{
  "directory": "library",
  "registry": "http://bower.herokuapp.com",
  "proxy":"http://127.0.0.1:8128/",
  "https-proxy":"http://127.0.0.1:8128/"
}

Any thoughts?


[change]

. VS 2015 " " . , , , ( , , -, ).

+4
3

, , VS 2015 .

+2

Visual Studio node/NPM Bower, . , , , VS. , Visual Studio , , .

" → " :

enter image description here

node:

enter image description here

, , -\ (, VS node NPM).

, .

+3

, .bowerrc :

{
  "directory": "wwwroot/lib",
  "proxy":"http://127.0.0.1:3128/",
  "https-proxy":"http://127.0.0.1:3128/"
}
0

Source: https://habr.com/ru/post/1620356/


All Articles