Closed scottmessinger closed 13 years ago
Sorry for the delay, been on holiday.
Try upgrading to the latest and greatest NPM.
Cheers,
Just pushed another htracr that also may help. Closing; if you still have an issue, please reopen or open a new issue.
Hi,
I've installed the latest versions of node and npm: teachfirst:code ScottMessinger$ npm -v 0.2.13-3 teachfirst:code ScottMessinger$ node -v v0.2.6
And yet I get the following issue when I try to install htracr:
node.js:63 throw e; ^ Error: Cannot find module 'npm' at loadModule (node.js:275:15) at require (node.js:411:14) at Object. (/usr/local/lib/node/.npm/htracr/0.1.3/package/scripts/if-i-fail-please-upgrade-npm.js:3:11)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at Object.runMain (node.js:522:24)
at Array. (node.js:756:12)
at EventEmitter._tickCallback (node.js:55:22)
at node.js:773:9
npm info htracr@0.1.3 Failed to exec preinstall script
npm ERR! install failed Error: htracr@0.1.3 preinstall: (/usr/local/lib/node/.npm/npm/0.2.13-3/package/lib/utils/exec.js:25:18)
npm ERR! install failed at ChildProcess.emit (events:34:17)
npm ERR! install failed at ChildProcess.onexit (child_process:168:12)
npm ERR! install failed at node.js:773:9
npm info install failed rollback
npm info uninstall [ 'htracr@0.1.3'
npm info uninstall , 'pcap@0.2.6'
npm info uninstall , 'optimist@0.1.3'
npm info uninstall ]
npm info preuninstall htracr@0.1.3
npm info preuninstall pcap@0.2.6
npm info preuninstall optimist@0.1.3
npm info uninstall htracr@0.1.3
npm info uninstall pcap@0.2.6
npm info uninstall optimist@0.1.3
npm info auto-deactive not symlink
npm info auto-deactive not symlink
npm info auto-deactive not symlink
npm info postuninstall htracr@0.1.3
npm info postuninstall pcap@0.2.6
npm info postuninstall optimist@0.1.3
npm info uninstall optimist@0.1.3 complete
npm info uninstall htracr@0.1.3 complete
npm info uninstall pcap@0.2.6 complete
npm info install failed rolled back
npm ERR! Error: htracr@0.1.3 preinstall: (/usr/local/lib/node/.npm/npm/0.2.13-3/package/lib/utils/exec.js:25:18)
npm ERR! at ChildProcess.emit (events:34:17)
npm ERR! at ChildProcess.onexit (child_process:168:12)
npm ERR! at node.js:773:9
npm ERR!
npm ERR! Failed at the htracr@0.1.3 preinstall script.
npm ERR! This is most likely a problem with the htracr package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! scripts/if-i-fail-please-upgrade-npm.js
npm ERR! You can get their info via:
npm ERR! npm owner ls htracr
npm ERR! There may be additional logging output above.
scripts/if-i-fail-please-upgrade-npm.js
npm ERR! install failedsh
failed with 1 npm ERR! install failed at ChildProcess.scripts/if-i-fail-please-upgrade-npm.js
npm ERR!sh
failed with 1 npm ERR! at ChildProcess.Any ideas what's going on?
Thanks, Scott