Use a temporary file for js minification.

This is how I made the project build on my OSX machine.