I can’t seem to get the npm install of zmq to work on my machine. I’m running OS X 10.9 (Maverick) and node 0.11.9. Here’s what I’ve done:
- fresh install of zmq via “brew install zmq” (Installled 4.0.3). Also tried installing from source via zeromq.org. Neither install made a difference.
- run “npm install zmq” and I get a plethora of errors. The first one is “expected class name”, while the rest are “unknown type name ‘Arguments’; did you mean ‘v8::internal::Arguments’?”
- After all the errors, I see the following message:
Tell the author that this fails on your system: node-gyp rebuild You can get their info via: npm owner ls zmq There is likely additional logging output above.
Any idea as to what’s causing this? I did a bunch of googling, and most people who had a problem with node-gyp rebuild had the problem because they hadn’t installed zeromq before hand. It definitely installed, and it’s definitely on the compiler’s include path as well. Any help is appreciated, thanks!
UPDATE: So I switched versions of node (via nvm) down to 0.10.22, and the npm install worked fine. I guess It’s just a problem with the most recent version of node. Good to know!