Error Installing Cordova on Node Js - node.js

npm WARN deprecated npmconf#2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova"
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! shasum check failed for C:\Users\ATULQU~1\AppData\Local\Temp\npm-948-67415186\registry.npmjs.org\npm\-\npm-2.15.1.tgz
npm ERR! Expected: 1232b36de78a2129a7c91f69e47abb8f093308c2
npm ERR! Actual: 4367d007fab244d37e00b0a85424d28f8f33d04e
npm ERR! From: https://registry.npmjs.org/npm/-/npm-2.15.1.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
Using node for the first time. Getting the following error while install Cordova "npm install -g cordova".
Using Git on windows 8

Related

Error "shasum check failed" when try to install firebase-tools

I'm getting this error when try to install firebase-tools:
PS D:\Projects\Uni\firebase-functions-hello-world> npm install -g firebase-tools
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\
\npm-cli.js" "install" "-g" "firebase-tools"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! shasum check failed for C:\Users\AdMin\AppData\Local\Temp\npm-8448-fdc26aac\registry.npmjs.org
\jju\-\jju-1.3.0.tgz
npm ERR! Expected: dadd9ef01924bc728b03f2f7979bdbd62f7a2aaa
npm ERR! Actual: 2a552ad636b1e23979c677ab9f360cf1ac578f89
npm ERR! From: https://registry.npmjs.org/jju/-/jju-1.3.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! D:\Projects\Uni\firebase-functions-hello-world\npm-debug.log
PS D:\Projects\Uni\firebase-functions-hello-world>
i also posted this issue on github which is https://github.com/firebase/firebase-tools/issues/271
Run the command again logged in as administrator.

Error to Install npm install -g cordova ionic

I design an app using ionic. When I install cordova using node.js I face these problems.
C:\Users\KSS>npm install -g cordova ionic
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" "ionic"
npm ERR! node v4.6.0
npm ERR! npm v2.15.9
npm ERR! shasum check failed for C:\Users\KSS\AppData\Local\Temp\npm-5012-d
4aedd8a\registry.npmjs.org\ionic\-\ionic-2.1.0.tgz
npm ERR! Expected: cc4218ec13f31b635c1119c9defae5b2bad31335
npm ERR! Actual: 88177629627a16987bec942611d1ca9e69b8aba9
npm ERR! From: https://registry.npmjs.org/ionic/-/ionic-2.1.0.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
The checksum failed npm ERR! shasum check failed
You can try upgrading to the latest version of npm :
npm install -g npm
To upgrade to npm 3.
Also :
npm cache clean
and
npm set registry https://registry.npmjs.org/
As work for some https://github.com/npm/npm/issues/2701

Error While Installing cordova via node.js

while installing cordova through NPM i am getting these error.
C:\Users\460862>npm install -g cordova
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.1.0
npm ERR! npm v3.8.6
npm ERR! shasum check failed for C:\Users\460862\AppData\Local\Temp\npm-9188-001
278c9\registry.npmjs.org\bplist-parser-\bplist-parser-0.1.1.tgz
npm ERR! Expected: d60d5dcc20cba6dc7e1f299b35d3e1f95dafbae6
npm ERR! Actual: b810dff385201a3be7e8c86bdf7c71072d9a0cc7
npm ERR! From: http://registry.npmjs.org/bplist-parser/-/bplist-parser-0.1.1
.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\460862\npm-debug.log
Help me resolve.

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 !
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.

Errors Installing Ionic Framework on Mac

When trying to install ionic framework on my mac via node.js using the command $ npm install -g cordova ionic I am getting the following errors
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "cordova" "ionic"
npm ERR! node v0.12.5
npm ERR! npm v2.12.0
npm ERR! Attempt to unlock /usr/local/lib/node_modules/cordova, which hasn't been locked
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "cordova" "ionic"
npm ERR! node v0.12.5
npm ERR! npm v2.12.0
npm ERR! Attempt to unlock /usr/local/lib/node_modules/ionic, which hasn't been locked
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! /Users/kernelliott/npm-debug.log
Any idea as to why I am getting these errors?
Use sudo as you are installing in system directory (with the -g, global flag):
sudo npm install -g cordova ionic

Resources