首页 > SPM 安装出错, underscore.string 找不到对应版本

SPM 安装出错, underscore.string 找不到对应版本

中间的大量 GET WARN 信息都省略了:

➤➤ sudo npm install -g spm-build

> spm-build@0.3.6 uninstall /usr/lib/node_modules/spm-build
> node scripts/uninstall.js

npm ERR! Error: No compatible version found: underscore.string@'>=2.2.0rc <2.3.0-'
npm ERR! Valid install targets:
npm ERR! ["0.9.2","1.0.0","1.1.3","1.1.4","1.1.5","1.1.6","2.0.0","2.1.0","2.1.1","2.3.0","2.3.1","2.2.0-rc"]
npm ERR!     at installTargetsError (/usr/lib/node_modules/npm/lib/cache.js:719:10)
npm ERR!     at next (/usr/lib/node_modules/npm/lib/cache.js:698:17)
npm ERR!     at /usr/lib/node_modules/npm/lib/cache.js:678:5
npm ERR!     at saved (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR!     at Object.oncomplete (fs.js:107:15)
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-19-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "spm-build"
npm ERR! cwd /opt/s/demo/seajs/demojs
npm ERR! node -v v0.10.12
npm ERR! npm -v 1.2.32

npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /opt/s/demo/seajs/demojs/npm-debug.log
npm ERR! not ok code 0

spm 安装的是最新版?如果不是升级到最新版本

到这里去提交问题 spm Issues 会有官方答复,而且都很快

【热门文章】
【热门文章】