# ./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).
Try the following:
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).