slidefizz
slidefizz

Reputation: 267

Cordova install error

After this command :

npm install -g cordova

I have these errors :

npm ERR! Windows_NT 6.1.7601
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 v6.2.0
npm ERR! npm  v3.8.9

npm ERR! shasum check failed for C:\Users\username\AppData\Local\Temp\npm-4132-192
bb5ac\registry.npmjs.org\npm\-\npm-2.15.8.tgz
npm ERR! Expected: 9ada0f2f8a17575cf0238ffac79ebd051236bf66
npm ERR! Actual:   19abf2c8a102ec9b70c96675e09cd15a189bab3b
npm ERR! From:     http://registry.npmjs.org/npm/-/npm-2.15.8.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:\dev\primeng\npm-debug.log

Anyone knows why and how to fix it ?

Thanks by advance !

Upvotes: 0

Views: 143

Answers (1)

Anantha Raju C
Anantha Raju C

Reputation: 1897

According to npm issue #2701 this could possibly be a result of you using an unstable version of npm, instead go for a stable version of npm, according to your logs, npm is the issue, not cordova.

Upvotes: 1

Related Questions