-
Notifications
You must be signed in to change notification settings - Fork 284
requires not working on node v5.2.0 #481
Comments
Sounds more like a problem in your project than in zmq... Mind sharing a bit more about your file structure and package.json information? |
There is literally nothing in the project (it just started) except for zmq and requires only a simple
|
|
zmq-test rk$ node index.js |
Are you perhaps forgetting to re-install zmq between Node major versions? You have to rebuild the binary, because Node's internal API is not compatible between major versions. |
That's weird because I built zmq with node v5.2 and it works fine with v4.2. Anyways, there is just something wrong with the 5.2 distribution because it won't load any modules. Thanks though! |
Good luck |
Oh found out for some reason the node v5.2 REPL will not load modules from the node_modules folder. |
guys.. It's not zeromq. I was having problems with 5.2 require in the node REPL with fedor's ip module. I think it's a node problem |
btw that got fixed in 5.3 nodejs/node#4215 |
For some reason doing a simple
require('zmq')
will fail to import. It will lead to a cannot find module error. However arequire('./node_modules/zmq')
works fine.The text was updated successfully, but these errors were encountered: