-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bower crashes for no reason from a bash script #826
Comments
It's crashing on https://github.com/bower/config/blob/master/lib/util/rc.js#L28 because apparently no HOME folder is set (via env variables). Anyway, it should not crash in that case anyway so I will protect that. |
Fixed in https://github.com/bower/config/commit/6abd4e5f9b3f8f7f1722e0bc361c63bfe8667f87. Can you please uninstall bower and install it again with |
We seem to have a few problems with assuming that HOME is set. Maybe we
|
@wibblymat we could do that, but we should not error out because even without |
I was thinking that we would issue a warning to say that we couldn't
|
Yes I like that. |
You mentioned a missing HOME. So I fixed one line in that upstart service to this:
The |
Alright I will create a new issue for this. |
Hi there
In one of my git hooks I run an external bash script. And in that script we have
bower install
between the lines. Each time it crashes with the error below. When I runbower install
manually, it works.The crash is weird and does not say what's wrong. Hope you guys can fix this?
Thanks!
M
The text was updated successfully, but these errors were encountered: