Saturday, 4 March 2017

Heroku / node-gyp. How do you deal with compiling native dependencies when pushing to Heroku?

I'm having issues with a module that requires node-gyp to compile on npm install. I've managed to get things working locally but when pushing to Heorku, the build will fail on node-gyp rebuild.Has anyone else run into this?The official answer seems to be 'avoid native dependencies' - Should I be looking for an alternative module or is there a trick I'm missing here?

Submitted March 04, 2017 at 05:11PM by PPCDoug

No comments:

Post a Comment