我已經安裝了node-js並使用Windows 7設置bin文件夾的路徑。 使用CMD,我正在安裝科爾多瓦,以下命令。使用cmd安裝cordova,<npm install -g cordova>給出錯誤
npm install -g cordova
它提供了以下錯誤,
C:\Users\admin>npm install -g cordova
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! shasum check failed for C:\Users\admin\AppData\Local\Temp\npm-27416-181
c77ac\registry.npmjs.org\cordova-app-hello-world\-\cordova-app-hello-world-3.9.0
.tgz
npm ERR! Expected: 5866d8fed5582686c68ec59a6d1097c4ec0fcc4b
npm ERR! Actual: 33c6d47bbc528da2c1b9b8e6ae592c2f5dba371f
npm ERR! From: https://registry.npmjs.org/cordova-app-hello-world/-/cordova-
app-hello-world-3.9.0.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! C:\Users\admin\npm-debug.log
如何得到解決?
謝謝@拿督爲我工作 –