TooTallNate / ref

Turn Buffer instances into "pointers"
http://tootallnate.github.com/ref
453 stars 141 forks source link

node-gyp rebuild fails on my system! #70

Closed ZheeWar closed 6 years ago

ZheeWar commented 7 years ago

i am trying to install/rebuild the node-opus again and i got the latest version of both npm and node js but it fails. it tells me to include: C:\Users\user_name\AppData\Roaming\npm-cache_logs\2017-03-02T21_0902 831Z-debug.log.

when i connect my bot to voicechat it says something like: couldn't find any opus engine

devsnek commented 7 years ago

this has nothing to do with node-gyp. the proper place for support on this is https://github.com/hydrabolt/discord.js

P.S. sorry nathan :P

ZheeWar commented 7 years ago

okay, thank you ^^

ZheeWar commented 7 years ago

it does though say it most likely a problem with the ref package?

Orangestar12 commented 7 years ago

Hm, node-gyp rebuild appears to fail whenever ref is being used as a dependency for another library.

I ran into the same problem trying to get the mtp module. Installing ref on it's own (npm install ref) works without a hitch, but instaling the mtp module results in a load of compiler errors, some from ref-struct, this npm error:

image

and this debug log: npm-debug.txt

Hopefully this sheds some more light, I'm relatively green with node myself.