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

'./manage.py bower_install' must return non zero exit code #38

Open
sza-1 opened this issue Mar 29, 2015 · 1 comment
Open

'./manage.py bower_install' must return non zero exit code #38

sza-1 opened this issue Mar 29, 2015 · 1 comment

Comments

@sza-1
Copy link

sza-1 commented Mar 29, 2015

Try the following:

# ./manage.py bower_install foo-bar-baz-qwe -- --allow-root ; echo $?
bower                                          ENOTFOUND Package foo-bar-baz-qwe not found
0

Perhaps ./manage.py bower_install must return 1 on errors. For example ./manage.py bower_freeze ; echo $? (from root) will return 1 on error (because --allow-root is not specified).

I believe that is a fatal issue because you can not use ./manage.py bower_install in automated build scripts (I faced with this issue when building Docker image which runs bower_install).

@andybak
Copy link

andybak commented May 9, 2015

This is also causing me problems with an ansible deploy. I can probably code around it but a proper exit code would be much nicer.

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

2 participants