0
在Xubuntu上执行此命令时出现了几个错误;shasum检查失败 - 安装hubot和npm
NPM从这个帖子
https://arthacker.net/how-to-install-hubot-on-ubuntu-14-04-lts-de3263cead51#.2c45h2a4f
我以为也许我的错误是跳跃指令,当我到达的步骤,其中我必须这样做
以下说明安装-g哟发电机hubot; sudo ln -s/usr/bin/nodejs/usr/bin/node
但是我得到一个错误(文件存在),因此我认为它是好的,于是我转移到了上面提到的以下步骤错误。
[email protected]:/home/sa# npm install -g yo generator-hubot
npm WARN deprecated [email protected]: the module is now available as 'css-select'
npm WARN deprecated [email protected]: the module is now available as 'css-what'
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! Linux 4.4.0-45-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "yo" "generator-hubot"
npm ERR! node v7.0.0
npm ERR! npm v3.10.9
npm ERR! shasum check failed for /tmp/npm-4682-604231ef/registry.npmjs.org/rx/-/rx-2.5.3.tgz
npm ERR! Expected: 21adc7d80f02002af50dae97fd9dbf248755f566
npm ERR! Actual: 84e6ac5ecfa4396589730d136d466c7e41c15a4a
npm ERR! From: https://registry.npmjs.org/rx/-/rx-2.5.3.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/sa/npm-debug.log
[email protected]:~# npm -v
3.10.9
[email protected]:~# node -v
v7.0.0