Skip to content

Instantly share code, notes, and snippets.

@sheerun
Last active Jan 3, 2022
Embed
What would you like to do?
Proper .bowerrc file pointing to new Bower registry (if using legacy Bower version)
{
"registry": "https://registry.bower.io"
}
@bjendyk
Copy link

bjendyk commented Jun 26, 2018

My builds were also failing because of bower.herokuapp.com being down since yesterday. I confirm that setting the registry as suggested in this gist fixes the problem. Thanks :) 👍

@nnrudakov
Copy link

nnrudakov commented Jun 27, 2018

How to update registry if I'm not using bower at all (I have no .bowerrc) but it needs for framework?

@cipher-code
Copy link

cipher-code commented Jun 28, 2018

The other option here is to just move your dependencies to npm or yarn

@sheerun
Copy link
Author

sheerun commented Jun 28, 2018

You can use bower-away to switch to yarn and preserve the rest of your setup

@ParsaGachkar
Copy link

ParsaGachkar commented Jun 29, 2018

my .bowerrc looks like this
{
"directory": "wwwroot/lib",
"registry": "https://registry.bower.io"
}
still can't install or update anything "Using Visual Studio 2018 in a dotnet core 2.0 web application project "

Gonna give a try with VSCode and CLI

@abepetrillo
Copy link

abepetrillo commented Jul 27, 2018

The newest version of bower really should point to the new registry by default, not the old one. Without this thread I would have been lost. Thanks @sheerun

@DanielRuf
Copy link

DanielRuf commented Sep 26, 2018

Should have been also in the deprecation notices probably ;-)

@bukandu1
Copy link

bukandu1 commented Oct 14, 2019

my .bowerrc looks like this
{
"directory": "wwwroot/lib",
"registry": "https://registry.bower.io"
}
still can't install or update anything "Using Visual Studio 2018 in a dotnet core 2.0 web application project "
Gonna give a try with VSCode and CLI

Did you get it to work after using VSCode and CLI? My .bowerrc looks like this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment