Yurii N.
Yurii N.

Reputation: 5703

Can't install Bower packages in Asp.Net Core

I have Visual Studio 2015 with Update 3. I have created new Asp.Net Core Web Application (.NET Core). Then, when I'm trying to install jquery-ui with the help of Bower, I get following error:

ECONNREFUSED Request to https://bower.herokuapp.com/packages/jquery-ui failed: connect ECONNREFUSED 23.23.73.170:443

How can I install it, what should I do with this error?

Upvotes: 0

Views: 1236

Answers (1)

Ralf Bönning
Ralf Bönning

Reputation: 15415

The error messages states that nuget cannot open a connection to https://bower.herokuapp.com/packages/jquery-ui. You can try to open this URL in your browser. In Chrome this JSON response will be returned:

{
    "name": "jquery-ui",
    "url": "https://github.com/components/jqueryui.git"
}

Probably this works because the proxy configuration in your browser is already set.

Please check and set the proxy settings of nuget on your machine: https://docs.nuget.org/consume/nuget-config-settings#proxy-settings

Upvotes: 3

Related Questions