private-bower icon indicating copy to clipboard operation
private-bower copied to clipboard

Confusing error message

Open qmax03 opened this issue 10 years ago • 6 comments

Hello, when git repository missing bower.json file then error should different then something about read access. I spend a lot of time for this. Do you think you can change it? Thanks. ( Failed to load package details! (Your private-bower server needs read access to this Git repository!) )

Max

qmax03 avatar Sep 08 '15 07:09 qmax03

Try #158

brunowego avatar Sep 17 '15 18:09 brunowego

I am also having the same issues. We are using bitbucket and I can clone a repo fine from the server. Also if I add a public repo i get all the info. So I guess it is a Issue with the permissions. Can you please explain how to authenticate private bower with my bitbucket account?

Thanks, Vince

VStoltzenberg avatar Sep 22 '15 16:09 VStoltzenberg

In my case it was caused by missing file bower.json. I setup permission by public deploy key

qmax03 avatar Sep 24 '15 07:09 qmax03

Thanks, that was it!

VStoltzenberg avatar Sep 25 '15 11:09 VStoltzenberg

Brunowego: I didn't have problem with access rights. It was caused by missing bower.json file

VStoltzenberg: You are welcome.

qmax03 avatar Sep 25 '15 12:09 qmax03

I have the same problem, and I fix it, see: https://github.com/zzbo/private-bower/blob/master/lib/service/packageDetailsProvider.js

zzbo avatar Oct 13 '15 10:10 zzbo