Open itsariadust opened 6 years ago
Would it be possible for you to post that logfile (the one that is given in the path at the very bottom).
Also, this seems to be a general issue with node-gyp, and I have since posted about it in the node-gyp repo, seen here.
So after continually trying to build erlpack, I see these error messages pop up:
./js/erlpack.cc:42:11: error: variable or field ‘Init’ declared void
void Init(Handle<Object> exports) {
^~~~~~
../js/erlpack.cc:42:11: error: ‘Handle’ was not declared in this scope
../js/erlpack.cc:42:11: note: suggested alternative: ‘daddl’
void Init(Handle<Object> exports) {
^~~~~~
daddl
../js/erlpack.cc:42:24: error: expected primary-expression before ‘>’ token
void Init(Handle<Object> exports) {
^
../js/erlpack.cc:42:26: error: ‘exports’ was not declared in this scope
void Init(Handle<Object> exports) {
^~~~~~~
In file included from ../../nan/nan.h:54,
from ../js/erlpack.cc:1:
../js/erlpack.cc:47:22: error: ‘Init’ was not declared in this scope
NODE_MODULE(erlpack, Init);
Not sure if that is related in any way :thinking:
I am having the same issues. My bot no longer works and I think it is because I need these dependencies, but they no longer install properly. Anyone get it to work?
@trackpadpro This is probably a breaking change between newer nodejs versions. I downgraded from node12 to node10 and it successfully compiles.
this may sound like a stupid question, but how did you perform the downgrade? did you just do a reinstall?
I don't remember the exact steps but first uninstall the current version, then you can specify the exact version to install with apt (assuming ubuntu-like distro)
gyp ERR! node-gyp -v v3.6.2
The current of node-gyp https://github.com/nodejs/node-gyp/releases
tried installing erlpack to fix my installation issues with npm but here's what happens:
how can I fix this issue?