0
为了得到Calipsonpm install
产生ok
,我必须杀死哪个配置文件(或者只是修改)?Calibso在NodeJS下的安装失败
这里的安装日志:
npm info it worked if it ends with ok npm info using [email protected] npm info using [email protected] npm info calculating sha1 /usr/local/lib/node/.npm/.cache/calipso/0.2.0/package.tgz npm info shasum 8c894356ba35bcb7ec9a8dbd4abf545a65fe34fe npm info range [email protected]>=0.11.0 npm info range [email protected]>=0.12.2 npm info range [email protected]>=2.2.1 npm info range [email protected]>=1.2.2 npm info range [email protected]>=0.2.7 npm info range [email protected]>=1.9.5 npm info range [email protected]>=0.2.1 npm info range [email protected]>=0.3.1 npm info range [email protected]>=1.1.6 npm info range [email protected]>=0.1.0 npm info range [email protected]>=0.9.3 npm info range [email protected]>=0.4.1 npm info range [email protected]>=1.3.0 npm info range [email protected]>=1.2.0 npm info range [email protected]>=0.6.0 npm info range [email protected] npm info range [email protected] npm info range [email protected] npm info range [email protected]>= 1.2.0 npm info range [email protected]>= 0.9.3
从这里开始,它打破:
npm info fetch http://registry.npmjs.org/hooks/-/hooks-0.1.9.tgz npm info calculating sha1 /var/folders/L5/L5b8zccxFYiv8aXPH4Xpr++++TI/-Tmp-/npm-1311158342434/1311158345082-0.03321287292055786/tmp.tgz npm info shasum 064e8bba3fca0e6611408c011ba7958c1055bb4e npm ERR! Error: Using '>=' with 0.4.x makes no sense. Don't do it. npm ERR! at /usr/local/Cellar/npm/0.2.11-5/libexec/lib/utils/semver.js:94:29 npm ERR! at String.replace (native) npm ERR! at replaceXRange (/usr/local/Cellar/npm/0.2.11-5/libexec/lib/utils/semver.js:88:25) npm ERR! at Array.map (native) npm ERR! at replaceXRanges (/usr/local/Cellar/npm/0.2.11-5/libexec/lib/utils/semver.js:84:17) npm ERR! at Array.map (native) npm ERR! at toComparators (/usr/local/Cellar/npm/0.2.11-5/libexec/lib/utils/semver.js:66:8) npm ERR! at Object.validRange (/usr/local/Cellar/npm/0.2.11-5/libexec/lib/utils/semver.js:138:11) npm ERR! at testEngine (/usr/local/Cellar/npm/0.2.11-5/libexec/lib/utils/read-json.js:218:44) npm ERR! at /usr/local/Cellar/npm/0.2.11-5/libexec/lib/utils/read-json.js:159:10 npm ERR! Report this *entire* log at npm ERR! or email it to npm ERR! Just tweeting a tiny part of the error will not be helpful. npm info range [email protected] npm not ok
谢谢你。发表一个问题;希望它能在某些时候修复。你能指出我正确的方向来手动安装hooks-js吗? –
@konzepz叉,修复它。将代码转储到.node_modules文件夹中。所有npm都会在.node_modules文件夹中转储大量代码,您可以手动执行此操作 – Raynos
已修复;关闭问题:https://github.com/bnoguchi/hooks-js/issues/1#issuecomment-1617628 –