I'm using Django-Pipeline to minify my javascript. When I push my project to Heroku and CollectStatic runs, it gives me the error
pipeline.exceptions.CompressorError: /usr/bin/env: yuglify: No such file or directory
But when I run CollectStatic manually, Yuglify runs without issue. I'm unable to find out the problem. What code should I even show you guys in this situation?
My solution to this was to add a "yuglify" part to the codebase here: https://github.com/nigma/heroku-django-cookbook
Here's my code:
bin/install_yuglify
Then add the following to bin/post_compile (around line 23...)
And you should be good to go :)
You can see my code here, for reference: https://github.com/GK-12/rpi_csdt_community/tree/master/bin
Good luck!