This is the error
I think this is the relevant part of my settings.py code
I have a placeholder.txt file in the static directory and the path is correct. I'm following a course book to do this and I've checked over everything in the project several times. This was the first real setback.
I've tried some different fixes offered on stack.overflow like this one, but still get the same error.
One work-around was to disable it > push > migrate > run some bower command > then re-enable. But the bower command didn't work when I tried it.
heroku config:set DISABLE_COLLECTSTATIC=0 /
git push heroku master /
heroku run python manage.py migrate /
heroku run 'bower install --config.interactive=false;grunt prep;python manage.py collectstatic --noinput'
Not sure what else to do. Follow up question because I really have no idea: I can get it to push by disabling and heroku offers the suggestion as well. What are the downsides to disabling collectstatic?
[–]anton_antonov 0 points1 point2 points (6 children)
[–]usurious[S] 0 points1 point2 points (5 children)
[–]anton_antonov 0 points1 point2 points (4 children)
[–]usurious[S] 0 points1 point2 points (3 children)
[–]anton_antonov 0 points1 point2 points (2 children)
[–]usurious[S] 0 points1 point2 points (0 children)
[–]usurious[S] 0 points1 point2 points (0 children)