Hacklone / private-bower

A simple private bower registry
Other
665 stars 131 forks source link

Web configuration example is erroneous #239

Open ohierro opened 8 years ago

ohierro commented 8 years ago

Hi,

I'm newbie and i don't know if this es the correct place to this question. For that, tell me if i'm wrong.

In the config example of the public web (https://www.npmjs.com/package/private-bower), when i try to start private-bower with that example config file, it fails with a 'not very descriptive' message 'TypeError: Cannot read property 'close' of undefined'.

Comparing with the file that is generated in the installation, i can see that the problem is the line "siteBaseUrl": null, more concrete, the final comma.

In the wiki, the example config is correct

cheers

PatrickWalker commented 8 years ago

Hey, This is fixed in the Readme.MD in the current source from what I see. https://github.com/Hacklone/private-bower/commit/ba636ff266e8069bff99e544006cf9550c069887 Guess they just need to patch the version