node-nightly
node-nightly copied to clipboard
Installing modules with binary bindings
Using node-nightly
I get errors like Error: Module version mismatch. Expected 51, got 48.
for modules with native bindings.
I tried doing something like env NODE_PATH=/usr/local/lib/node_modules/node-nightly/node-nightly/ /usr/local/lib/node_modules/node-nightly/node-nightly/bin/npm install bcrypt
but that doesn't seem to help
What's your node version? Operating system?
OSX 10.10.5 Node 6.7.0
I'm also having this problem. Is it possible that npm is using the standard version of node and building dependencies against the wrong API? I'm not sure what the solution to this would be, maybe npm-nightly?
Yeah, even the npm bundled with node-nightly
seems to just use the bindings in the default path.
Where is the npm bundled with node-nightly located?
On my mac it is here /usr/local/lib/node_modules/node-nightly/node-nightly/bin/npm
Weird, it doesn't seem to be in there or /usr/lib/node_modules/node-nightly/
on my linux box
I did which node-nightly
and then followed the symlinks. Your node path likely going to be different.
Ok, so I ran the node-nightly /usr/local/.../npm install
and it seemed to work.