-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with installation #15
Comments
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 🤔 |
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) |
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?
The text was updated successfully, but these errors were encountered: