I don't know why, but just setting process.env.path didn't work for me when building on Netlify.
You can see what troubles I got into here: https://github.com/ubershmekel/ld47/blob/master/build/build-sounds.js
I ended up copying the audiosprite.js file and modifying it to allow using a custom ffmpeg binary file path.