Open larsenglund opened 11 years ago
So, it seems to me they may have changed few things to UV without telling me first :) Which version of ubuntu are you dealing with? Tell you what, I have to setup a new server this week with Ubuntu 13.04 and node 0.10.18. So I will likely hit the same issue if ever. I will then create a new branch on node_rrd where I will patch the module to be in sync with the new uv API changes.
Yeah, I actually fixed that when compiling for windows but when I ran into it again under linux, expecting a butter smooth installation and not knowing if there would be more hurdles waiting behind the first, I thought I'd better raise an issue for it. I'm running Ubuntu 13.04 and node 0.10.18. Is there any way I could sweet talk you into publishing this to the npm registry as a public module? It's so nice just to be able to write "rrdtool" : "latest" in the package.json and have it install with all other dependencies with a simple "node install". There are already two other modules in the npm registry that provide an interface to the rrdtool binary (https://npmjs.org/package/rrd and https://npmjs.org/package/node-rrdtool) but your solution seems more efficient and beautiful! (and documented!) :)
Sure, I'm planning on releasing it to npm but I need to settle down the API which is not optimal at this point. I'm open to any suggestions. Also I had a hard time working with node-gyp and I'm fearing the next confrontation ;) Anyways, I'll keep you updated on the uv fix (likely, later this week).
Ok Larse, now you should be able to pull master and compile the module like a charm.
Hi, thanks for the quick fix! I found out that npm supports github urls in the package.json dependencies so I happily added
"rrd": "https://github.com/Orion98MC/node_rrd.git"
but I get this error when running "npm install"
npm http 200 https://github.com/Orion98MC/node_rrd.git
npm ERR! not a package /home/lars/tmp/npm-21591-SZpa3MkK/1379271961858-0.45833545620553195/tmp.tgz
npm ERR! Error: ENOENT, open '/home/lars/tmp/npm-21591-SZpa3MkK/1379271961858-0.45833545620553195/package/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 3.8.0-30-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/lars/huset/nodejs
npm ERR! node -v v0.10.18
npm ERR! npm -v 1.3.8
npm ERR! path /home/lars/tmp/npm-21591-SZpa3MkK/1379271961858-0.45833545620553195/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
Any idea what is going on here? I looked in the folder /home/lars/tmp/npm-21591-SZpa3MkK/1379271961858-0.45833545620553195/package/ and the only thing there is a file called index.js that contains the html-code for https://github.com/Orion98MC/node_rrd
Nevermind, I just missed that the github url had to start with git:// instead of https:// - problem solved!
So, since my attempts to get this running on windows went unanswered I set up an Ubuntu box and did as the README suggested (git clone and then npm install .). But I get this error:
Looks like an error in your code?