firebase function 'npm install -g firebase-tools error' - node.js

'npm install -g firebase-tools' enter commond but show some error
i am using Node v6.11.2 , npm 3.10.10.
C:\Users\Tahir Ali Awan>npm install -g firebase-tools
npm ERR! Windows_NT 10.0.10586
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.11.2
npm ERR! npm v3.10.10
npm ERR! shasum check failed for C:\Users\TAHIRA~1\AppData\Local\Temp\npm-10928-4df4b0d9\registry.npmjs.org\firebase-tools-\firebase-tools-3.17.4.tgz
npm ERR! Expected: dde15ee12a6fa9930a4142b7dafd12313f6555d8
npm ERR! Actual: f5bab81f9dd43c342c2fda6eedbd23f67c1f82e7
npm ERR! From: https://registry.npmjs.org/firebase-tools/-/firebase-tools-3.17.4.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\Tahir Ali Awan\npm-debug.log
error

Try this two things:
Clear the NPM Cache by running "npm clean cache"
Try upgrading your node version to the latest stable one

Related

npm returns module_not_found on react-native-cli install

I just upgraded my mac pro to Sierra, and now I am trying to install React Native:
sudo npm install -g react-native-cli
This command fails and I get this message:
npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "react-native-cli"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'github-url-from-git'
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/gianni/npm-debug.log
npm -v: 3.10.10
node -v: v6.11.0
Thanks

how to install reactjs on windows 8

I am following steps to install reactjs from his official website https://facebook.github.io/react/
just look at error I'm getting.
C:\Windows\System32>npm install create-react-app -g npm ERR!
Windows_NT 6.3.9600 npm ERR! argv "C:\Program
Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "install" "create-react-app" "-g"
npm ERR! node v7.9.0 npm ERR! npm v4.2.0
npm ERR! Cannot read property 'path' of null 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\NULLPLEX5-PC\AppData\Roaming\npm-cache_logs\2017-05-26T12
_03_16_585Z-debug.log
C:\Windows\System32>

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.

ionic install npm error on window10

I installed nodejs,apache ant, JDK and android JDK.
after npm install -g cordova. so very good install!!
but... npm install -g ionic...
error code
C:\Users\dltls>npm install -g ionic
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\dltls\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\np
m-cli.js" "install" "-g" "ionic"
npm ERR! node v6.1.0
npm ERR! npm v3.9.0
npm ERR! shasum check failed for C:\Users\dltls\AppData\Local\Temp\npm-756-b0347231\registry.npmjs.org\ionic\-\ionic-1.7
.14.tgz
npm ERR! Expected: af493d5df4688d917d778b0934d1739b9be6efe6
npm ERR! Actual: fab0cac875d9881f84f09df86dd8229035deb772
npm ERR! From: https://registry.npmjs.org/ionic/-/ionic-1.7.14.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\dltls\npm-debug.log
I seach Internet... npm install -g npm and npm set registry https://registry.npmjs.org and npm cache clean but error exist.. help me!!

Resources