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