node-capnp
node-capnp copied to clipboard
Doesn't compile on node v0.12
https://gist.github.com/jimfleming/6e6a7537acd16f029d91
I'm not familiar with what's going on here but it looks like it's expecting something different from libuv?
$ brew info libuv
libuv: stable 1.4.2 (bottled), HEAD
$ brew test libuv
Testing libuv
==> /usr/bin/clang test.c -luv -o test
==> ./test
$ npm install
works for me on OSX.
What version of node are you using? I believe that node-capnp only supports 0.10.x.
Ahh, that's it. I'm on v0.12.0 (fwiw, io.js doesn't work at v1.5.0 either). Downgrading to 0.10.37 (latest for that minor rev) does indeed work. Mind if I submit a PR with an engines
declaration like this?
{ "engines" : { "node" : ">=0.10.0 <0.11" } }
EDIT: Hit enter too soon...