Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't fallback to public packages #179

Closed
hendiko opened this issue Sep 28, 2015 · 7 comments
Closed

It doesn't fallback to public packages #179

hendiko opened this issue Sep 28, 2015 · 7 comments

Comments

@hendiko
Copy link

hendiko commented Sep 28, 2015

I installed private-bower following this post, I used sample configuration to start the private bower, it runs well but it doesn't fallback to public packages.

$ bower search jquery
No results.

When I search a package that doesn't exist in my private registry, it just return "No results".

@d3spis3d
Copy link

I experienced the same issue. I got around it by adding the public bower repository to the .bowerrc config file, details in Bower config. E.g.

{
    "registry": {
        "search": [
            "http://private-bower-here:5678",
            "http://bower.herokuapp.com"
        ]
    }
}

@krysalead
Copy link

Hi,

I got the same issue, it was working very well, then it fails to
bower ENOTFOUND Package moment not found
on every package.
I am using the default configuration provided on the wiki.
I have reinstalled the private-bower
I have started as a daemon (macosX)
I have started it manually
Removed the bowerRepository files
I will try to add the fallback into the bowerrc file but having this fallback on the server is quite convenient.
Otherwise it is a greate tool ! thanks

@daniel-rosiak
Copy link

Same issue here. Just noticed it today.
d3spis3d solution fixes it to me.

@ow--
Copy link

ow-- commented Oct 1, 2015

Something might have changed in the hosting environment of the public registry since /packages/ doesn't resolve to the registered route /packages. Removing the trailing / in the config worked for me.

@devlz303
Copy link

devlz303 commented Oct 2, 2015

Same over here. The solution @ow-- mentions (remove the traling / in the private bower config) is working for me too.

ekho pushed a commit to bankiru/docker-private-bower that referenced this issue Oct 7, 2015
@jstoja
Copy link

jstoja commented Oct 8, 2015

@Hacklone Can you merge this ? Several people encountered the same problem :)

@sanbor
Copy link
Contributor

sanbor commented Jun 2, 2016

I copy-pasted the example in http://hacklone.github.io/private-bower/#config-file and it had the trailing /. Luckily I found this issue. :)

crohrer added a commit to crohrer/private-bower that referenced this issue Aug 1, 2016
this was already fixed in README.MD but not on gh-pages. 
This is the reason why it is a problem: Hacklone#179 (comment)
Hacklone added a commit that referenced this issue Sep 25, 2016
removed "/" from example config, which causes #179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants