Closed lordnox closed 13 years ago
Try updating npm?
Closing; if you encounter this with current versions of htracr / npm, please reopen.
It worked now.
I installed node in "~/local/..." like in the npm describtion. This way I have to start htracr with sudo. But version 0.1.2 I currently got threw a few erros with it. I traced those back to line 8 in your htracr.js var server = require('htracr/server') I changed it to the following var server = require('./lib/server') Sadly I still can't get your program to run. It will not give me a server now. sudo ./local/bin/htracr 5555 Will tell me: Server running on port 5555. but I cannot connect to port 5555. Any hints on that?
Hi,
I can't support modified versions of the code.
Can you paste in the error you see with 0.1.2?
Also include the version of npm you're using.
Thanks,
Without sudo: "You don't have permission to capture ..."
With sudo: nox@SRV1Node:~$ sudo ./local/bin/htracr 5555
node.js:50
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'htracr/server'
at resolveModuleFilename (node.js:246:13)
at loadModule (node.js:212:20)
at require (node.js:272:14)
at Object.
After changing the line indicated by
at Object.
It tells me the Server is running but I do not get a connection.
Versions: nox@SRV1Node:~$ npm install htracr npm info it worked if it ends with ok npm info using npm@0.2.11-5 npm info using node@v0.3.1 npm info fetch http://registry.npmjs.org/htracr/-/htracr-0.1.3.tgz npm info calculating sha1 /tmp/npm-1292403263211/1292403264359-0.5004944000393152/tmp.tgz npm info shasum 195dc3596a9d4829efe418d09988271603c86bf2 npm info calculating sha1 /home/nox/local/lib/node/.npm/.cache/htracr/0.1.3/package.tgz npm info shasum 808c63e8aeade07efa7ccce41da8b9840a6040e8 npm info preinstall htracr@0.1.3 npm info install htracr@0.1.3 npm info postinstall htracr@0.1.3 npm info preactivate htracr@0.1.3 npm info activate htracr@0.1.3 npm info postactivate htracr@0.1.3 npm info build Success: htracr@0.1.3 npm ok
EDIT: Installed new npm version, same problems npm info using npm@0.2.12-1
Sorry for the long silence; been on holiday.
What OS are you on?
Also, could you please try a yet more recent npm (there have been lots of changes)?
Thanks for your patience.
Hi, just ran into a problem:
$> npm install htracr
npm info it worked if it ends with ok npm info using npm@0.2.10 npm info using node@v0.3.1 npm info fetch http://registry.npmjs.org/htracr/-/htracr-0.1.0.tgz npm info calculating sha1 /tmp/npm-1291805453497/1291805454108-0.3507726148236543/tmp.tgz npm info shasum 98fd6b0f8358e842f1ee195af6db5f429e73ca40 npm WARN Excess stuff in package tarball [ '._package', 'package' ] npm ERR! Error installing htracr@0.1.0 npm ERR! Error: EISDIR, Is a directory '._package' npm ERR! Report this entire log at http://github.com/isaacs/npm/issues npm ERR! or email it to npm-@googlegroups.com npm ERR! Just tweeting a tiny part of the error will not be helpful. npm not ok