-
Notifications
You must be signed in to change notification settings - Fork 582
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
Failed at the [email protected] install script 'node-gyp rebuild' #31
Comments
This may look nonsense, but download zip or clone repo then install like |
I tried both |
Yes, one more: download this Add the zip contents inside node_modules. |
I've downloaded it and placed the Any ideas? I'm running Ubuntu 14.04 by the way. It's still Debian based though, so that shouldn't be the problem |
Also, I am using this module in NOMP which requires stratum-pool which has a module dependency for multi-hashing which is why I created the issue here. I've placed the multi-hashing folder that you gave me in the |
I had your same problem building unomp, wich SAME dependancy and only get it compiled from a Linux Machine. Im not a regular user of Node, so I didn't know that i can't simply copy the folder. Im stucked in the same place. I'll come here if found anything new. |
Also, readed something about use Node 0.10 for |
I'm going to look into rewriting the module so that it can be used with newer versions of node |
Can you tell me how you built the library on Debian? What version of Node.js and NPM did you have and what commands did you use to install it? |
I've built in my own Laptop using Debian 8 Jessie x64, and finally did the work.
Also created a VPS with Debian 8 Jessie and worked again, succesfully run the But, i've tried 2 more Linux boxes without luck before. Try Debian if you can. |
In another server I have with CentOS 7 i got:
but module compiles too.
|
On Windows was impossible to build dependancy |
Ok, I've figured out the problem: This project is build using node |
Find a fix for node 0.12.9. Trying update it to node 5.0 and NAN ^2.0 make me crazy tonight)) |
I've already read the issue that you got that code from. I have also already re-written the bindings to make them work with node 4.3.0. Feel free to make them work with node 5.0 I've already tried with no success |
Can you share the updated bindings? |
great. so here is the command line for non-experts:
|
What buechling did worked for me on ubuntu 16.x, node -v == v6.10.0, and npm -v == 3.10.10 |
On node-js version 4.6.1 does not work too. ../multihashing.cc:255:77: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))' ........ |
My fix was forcing node v0.10.29 with nvp install 0.10.29 (no luck with 6.x or 0.10.48). On ubuntu 14 |
Not sure if this still exists for you guys, but I successfully worked around this issue using nvm. Here is the curl command to install nvm if you would like it After that just run Worked on every machine i've tested so far...although it is extremely outdated so I wouldn't use it in production.. |
well, [email protected] worked for me on linux I guess it is linux only |
export NVM_DIR="$HOME/.nvm" |
node 0.10.48 centos 7 works |
Hi! I've got node
5.3.0
installed with npm3.3.12
installed and gcc4.8.4
When I run
npm update
on node-open-mining-portal when it reaches thestratum-pool
dependencynode-gyp rebuild
fails with exit code 1. I've found that it is because of the modulemulti-hashing
.Is multi-hashing broken with my version of node? Do I need node
0.10
? I don't really want to install that as it's pretty outdated.Thanks for any help.
EDIT: Yes, I do have libssl-dev installed using
sudo apt-get install libssl-dev
The text was updated successfully, but these errors were encountered: