Rantanen / node-opus

Opus bindings for Node.js
MIT License
79 stars 32 forks source link

Heroku #76

Closed fearek closed 5 years ago

fearek commented 5 years ago

It wont install on heroku from ../deps/opus/src/opus.c:32: /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory

include_next

            ^~~~~~~~~~

compilation terminated. deps/libopus.target.mk:269: recipe for target 'Release/obj.target/libopus/deps/opus/src/opus.o' failed make: *** [Release/obj.target/libopus/deps/opus/src/opus.o] Error 1 make: Leaving directory '/app/node_modules/node-opus/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/app/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.4.0-1038-aws gyp ERR! command "/app/.heroku/node/bin/node" "/app/.heroku/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /app/node_modules/node-opus gyp ERR! node -v v10.15.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok

fearek commented 5 years ago

fixed with yarn