npm install using proxy gives errors - npm-install

Hi npm install is failing as shown in the screenshot. I am using proxy and before the npm install, I have
Got the nodejs, Git downloaded and installed. the git version is 2.17.0.windows.1
ran npm config set for proxy and the registry. Got the .npmrc file created in C:\Users\user.
Any help would be appreciated.
Please find the npm install log:
user#trsrall2060597 MINGW64 /c/xyzsite/trs-b2b-ui (develop)
$ npm install
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:204:12)
npm WARN addRemoteGit at emitTwo (events.js:106:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:886:16)
npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm WARN addRemoteGit git+https://github.com/goutamsm/ng1-protractor.git resetting remote C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-goutamsm-ng1-protractor-git-8bb1045c because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:204:12)
npm WARN addRemoteGit at emitTwo (events.js:106:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:886:16)
npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm WARN addRemoteGit killed: false,
npm WARN addRemoteGit code: 1,
npm WARN addRemoteGit signal: null,
npm WARN addRemoteGit cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm ERR! git clone --template=C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/goutamsm/ng1-protractor.git C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-goutamsm-ng1-protractor-git-8bb1045c: Cloning into bare repository 'C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-goutamsm-ng1-protractor-git-8bb1045c'...
npm ERR! git clone --template=C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/goutamsm/ng1-protractor.git C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-goutamsm-ng1-protractor-git-8bb1045c: fatal: unable to access 'https://github.com/goutamsm/ng1-protractor.git/': Received HTTP code 407 from proxy after CONNECT
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/goutamsm/ng1-protractor.git C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-goutamsm-ng1-protractor-git-8bb1045c
npm ERR! Cloning into bare repository 'C:\Users\user\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-goutamsm-ng1-protractor-git-8bb1045c'...
npm ERR! fatal: unable to access 'https://github.com/goutamsm/ng1-protractor.git/': Received HTTP code 407 from proxy after CONNECT
npm ERR!
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:\xyzsite\trs-b2b-ui\npm-debug.log

Related

Installing Stencil CLI/Framework - error unable to connect to github.com

I'm trying to install Stencil CLI/Framework in Windows follwing these instructions https://stencil.bigcommerce.com/docs/installing-stencil-cli-1. I have all the prerequisites installed and configured. I configured my proxy in both npm and git bash.
Every time I run the following:
npm install -g #bigcommerce/stencil-cli
I get the following error:
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:205:12)
npm WARN addRemoteGit at emitTwo (events.js:106:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:194:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:899:16)
npm WARN addRemoteGit at Socket.<anonymous> (internal/child_process.js:342:11)
npm WARN addRemoteGit at emitOne (events.js:96:13)
npm WARN addRemoteGit at Socket.emit (events.js:191:7)
npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:511:12)
npm WARN addRemoteGit git://github.com/bigcommerce/browser-sync.git resetting remote C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bigcommerce-browser-sync-git-b8c22efb because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:205:12)
npm WARN addRemoteGit at emitTwo (events.js:106:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:194:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:899:16)
npm WARN addRemoteGit at Socket.<anonymous> (internal/child_process.js:342:11)
npm WARN addRemoteGit at emitOne (events.js:96:13)
npm WARN addRemoteGit at Socket.emit (events.js:191:7)
npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:511:12)
npm WARN addRemoteGit killed: false,
npm WARN addRemoteGit code: 1,
npm WARN addRemoteGit signal: null,
npm WARN addRemoteGit cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm WARN deprecated github#8.2.1: 'github' has been renamed to '#octokit/rest' (https://git.io/vNB11)
npm ERR! git clone --template=C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/bigcommerce/browser-sync.git C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bigcommerce-browser-sync-git-b8c22efb: Cloning into bare repository 'C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bigcommerce-browser-sync-git-b8c22efb'...
npm ERR! git clone --template=C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/bigcommerce/browser-sync.git C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bigcommerce-browser-sync-git-b8c22efb: fatal: unable to connect to github.com:
npm ERR! git clone --template=C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/bigcommerce/browser-sync.git C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bigcommerce-browser-sync-git-b8c22efb: github.com[0: 192.30.253.112]: errno=No error
npm ERR! git clone --template=C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/bigcommerce/browser-sync.git C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bigcommerce-browser-sync-git-b8c22efb: github.com[1: 192.30.253.113]: errno=No error
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" "#bigcommerce/stencil-cli"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/bigcommerce/browser-sync.git C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bigcommerce-browser-sync-git-b8c22efb
npm ERR! Cloning into bare repository 'C:\Users\jeverett\AppData\Roaming\npm-cache\_git-remotes\git-github-com-bigcommerce-browser-sync-git-b8c22efb'...
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 192.30.253.112]: errno=No error
npm ERR! github.com[1: 192.30.253.113]: errno=No error
npm(Err!)
npm(Err!)
npm(Err!)
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
Any ideas?
This command fixed my issue:
git config --global url."https://".insteadOf git://

error installing Native Base for React Native

I installed Native Base on one machine and this was fast and no hiccups, but it fails on another machine. Below is the log of what happens, can somebody please advise.
I just reinstalled git to the latest version.
Thank you.
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:272:12)
npm WARN addRemoteGit at ChildProcess.emit (events.js:159:13)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:943:16)
npm WARN addRemoteGit at Process.ChildProcess.handle.onexit (internal/childprocess.js:220:5)
npm WARN addRemoteGit git+://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git resetting remote C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-keyboard-aware-scroll-view-git-8603b9f3 because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:272:12)
npm WARN addRemoteGit at ChildProcess.emit (events.js:159:13)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:943:16)
npm WARN addRemoteGit at Process.ChildProcess.handle.onexit (internal/childprocess.js:220:5)
npm WARN addRemoteGit killed: false,
npm WARN addRemoteGit code: 1,
npm WARN addRemoteGit signal: null,
npm WARN addRemoteGit cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:272:12)
npm WARN addRemoteGit at ChildProcess.emit (events.js:159:13)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:943:16)
npm WARN addRemoteGit at Process.ChildProcess.handle.onexit (internal/childprocess.js:220:5)
npm WARN addRemoteGit git+://github.com/GeekyAnts/react-native-drawer.git resetting remote C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-drawer-git-5dbe324d because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:272:12)
npm WARN addRemoteGit at ChildProcess.emit (events.js:159:13)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:943:16)
npm WARN addRemoteGit at Process.ChildProcess.handle.onexit (internal/childprocess.js:220:5)
npm WARN addRemoteGit killed: false,
npm WARN addRemoteGit code: 1,
npm WARN addRemoteGit signal: null,
npm WARN addRemoteGit cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm ERR! git clone --template=C:\Users\jim\AppData\Roaming\npm-cache_git-remotes_templates --mirror ://github.com/GeekyAnts/react-native-drawer.git C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-drawer-git-5dbe324d: Cloning into bare repository 'C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-drawer-git-5dbe324d'...
npm ERR! git clone --template=C:\Users\jim\AppData\Roaming\npm-cache_git-remotes_templates --mirror ://github.com/GeekyAnts/react-native-drawer.git C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-drawer-git-5dbe324d: fatal: unable to access '://github.com/GeekyAnts/react-native-drawer.git/': error setting certificate verify locations:npm ERR! git clone --template=C:\Users\jim\AppData\Roaming\npm-cache_git-remotes_templates --mirror ://github.com/GeekyAnts/react-native-drawer.git C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-drawer-git-5dbe324d: CAfile: D:/Program Files/Git/mingw64/libexec/ssl/certs/ca-bundle.crt
npm ERR! git clone --template=C:\Users\jim\AppData\Roaming\npm-cache_git-remotes_templates --mirror ://github.com/GeekyAnts/react-native-drawer.git C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-drawer-git-5dbe324d: CApath: none
npm ERR! git clone --template=C:\Users\jim\AppData\Roaming\npm-cache_git-remotes_templates --mirror ://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-keyboard-aware-scroll-view-git-8603b9f3: Cloning into bare repository 'C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-keyboard-aware-scroll-view-git-8603b9f3'...
npm ERR! git clone --template=C:\Users\jim\AppData\Roaming\npm-cache_git-remotes_templates --mirror ://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-keyboard-aware-scroll-view-git-8603b9f3: fatal: unable to access '://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git/': error setting certificate verify locations:
npm ERR! git clone --template=C:\Users\jim\AppData\Roaming\npm-cache_git-remotes_templates --mirror ://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-keyboard-aware-scroll-view-git-8603b9f3: CAfile: D:/Program Files/Git/mingw64/libexec/ssl/certs/ca-bundle.crt
npm ERR! git clone --template=C:\Users\jim\AppData\Roaming\npm-cache_git-remotes_templates --mirror ://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-keyboard-aware-scroll-view-git-8603b9f3: CApath: none
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\jim\AppData\Roaming\npm-cache_git-remotes_templates --mirror ://github.com/GeekyAnts/react-native-drawer.git C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-drawer-git-5dbe324d
npm ERR! Cloning into bare repository 'C:\Users\jim\AppData\Roaming\npm-cache_git-remotes\git--github-com-GeekyAnts-react-native-drawer-git-5dbe324d'...npm ERR! fatal: unable to access '://github.com/GeekyAnts/react-native-drawer.git/': error setting certificate verify locations:
npm ERR! CAfile: D:/Program Files/Git/mingw64/libexec/ssl/certs/ca-bundle.crt
npm ERR! CApath: none
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\jim\AppData\Roaming\npm-cache_logs\2017-12-11T19_31_31_038Z-debug.log

Angular-CLI installation issue

I'm trying to "angular-cli",
I type following on my command prompt (Administrator)
"npm install -g angular-cli#latest" i get following
C:\Windows\system32>npm install -g angular-cli#latest npm WARN addRemoteGit Error: not found: git npm WARN addRemoteGit at getNotFoundError (C:\Users\irfanyounis\AppData\Roam ing\npm\node_modules\npm\node_modules\which\which.js:14:12) npm WARN addRemoteGit at F (C:\Users\irfanyounis\AppData\Roaming\npm\node_mo dules\npm\node_modules\which\which.js:69:19) npm WARN addRemoteGit at E (C:\Users\irfanyounis\AppData\Roaming\npm\node_mo dules\npm\node_modules\which\which.js:81:29) npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\which\which.js:90:16 npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\graceful-fs\polyfills.js:264:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15) npm WARN addRemoteGit webpack/compression-webpack-plugin#7e55907cd54a2e91b96d25 a660acc6a2a6453f54 resetting remote C:\Users\irfanyounis\AppData\Roaming\npm-cac he\_git-remotes\git-github-com-webpack-compression-webpack-plugin-git-7e55907cd5 4a2e91b96d25a660acc6a2a6453f54-ec76b2fe because of error: { [Error: not found: g it] code: 'ENOGIT' } npm ERR! git clone
--template=C:\Users\irfanyounis\AppData\Roaming\npm-cache\_gi t-remotes\_templates --mirror git://github.com/webpack/compression-webpack-plugi n.git C:\Users\irfanyounis\AppData\Roaming\npm-cache\_git-remotes\git-github-com
-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54
-ec76b2fe: undefined npm ERR! git clone --template=C:\Users\irfanyounis\AppData\Roaming\npm-cache\_gi t-remotes\_templates --mirror git://github.com/webpack/compression-webpack-plugi n.git C:\Users\irfanyounis\AppData\Roaming\npm-cache\_git-remotes\git-github-com
-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54
-ec76b2fe: undefined npm WARN addRemoteGit Error: not found: git npm WARN addRemoteGit at getNotFoundError (C:\Users\irfanyounis\AppData\Roam ing\npm\node_modules\npm\node_modules\which\which.js:14:12) npm WARN addRemoteGit at F (C:\Users\irfanyounis\AppData\Roaming\npm\node_mo dules\npm\node_modules\which\which.js:69:19) npm WARN addRemoteGit at E (C:\Users\irfanyounis\AppData\Roaming\npm\node_mo dules\npm\node_modules\which\which.js:81:29) npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\which\which.js:90:16 npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\graceful-fs\polyfills.js:264:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15) npm WARN addRemoteGit webpack/compression-webpack-plugin#7e55907cd54a2e91b96d25 a660acc6a2a6453f54 resetting remote C:\Users\irfanyounis\AppData\Roaming\npm-cac he\_git-remotes\git-https-github-com-webpack-compression-webpack-plugin-git-7e55 907cd54a2e91b96d25a660acc6a2a6453f54-541c96f3 because of error: { [Error: not fo und: git] code: 'ENOGIT' } npm ERR! git clone
--template=C:\Users\irfanyounis\AppData\Roaming\npm-cache\_gi t-remotes\_templates --mirror https://github.com/webpack/compression-webpack-plu gin.git C:\Users\irfanyounis\AppData\Roaming\npm-cache\_git-remotes\git-https-gi thub-com-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2 a6453f54-541c96f3: undefined npm ERR! git clone
--template=C:\Users\irfanyounis\AppData\Roaming\npm-cache\_gi t-remotes\_templates --mirror https://github.com/webpack/compression-webpack-plu gin.git C:\Users\irfanyounis\AppData\Roaming\npm-cache\_git-remotes\git-https-gi thub-com-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2 a6453f54-541c96f3: undefined npm WARN addRemoteGit Error: not found: git npm WARN addRemoteGit at getNotFoundError (C:\Users\irfanyounis\AppData\Roam ing\npm\node_modules\npm\node_modules\which\which.js:14:12) npm WARN addRemoteGit at F (C:\Users\irfanyounis\AppData\Roaming\npm\node_mo dules\npm\node_modules\which\which.js:69:19) npm WARN addRemoteGit at E (C:\Users\irfanyounis\AppData\Roaming\npm\node_mo dules\npm\node_modules\which\which.js:81:29) npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\which\which.js:90:16 npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\which\node_modules\isexe\index.js:44:5 npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\which\node_modules\isexe\windows.js:29:5 npm WARN addRemoteGit at C:\Users\irfanyounis\AppData\Roaming\npm\node_modul es\npm\node_modules\graceful-fs\polyfills.js:264:29 npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15) npm WARN addRemoteGit webpack/compression-webpack-plugin#7e55907cd54a2e91b96d25 a660acc6a2a6453f54 resetting remote C:\Users\irfanyounis\AppData\Roaming\npm-cac he\_git-remotes\git-github-com-webpack-compression-webpack-plugin-git-7e55907cd5 4a2e91b96d25a660acc6a2a6453f54-e286d0b5 because of error: { [Error: not found: g it] code: 'ENOGIT' } npm ERR! git clone
--template=C:\Users\irfanyounis\AppData\Roaming\npm-cache\_gi t-remotes\_templates --mirror git#github.com:webpack/compression-webpack-plugin. git C:\Users\irfanyounis\AppData\Roaming\npm-cache\_git-remotes\git-github-com-w ebpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-e 286d0b5: undefined npm ERR! git clone
--template=C:\Users\irfanyounis\AppData\Roaming\npm-cache\_gi t-remotes\_templates --mirror git#github.com:webpack/compression-webpack-plugin. git C:\Users\irfanyounis\AppData\Roaming\npm-cache\_git-remotes\git-github-com-w ebpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-e 286d0b5: undefined npm ERR! Windows_NT 6.1.7600 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\irfanyounis\\App Data\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "angular- cli#latest" npm ERR! node v4.6.0 npm ERR! npm v3.10.9 npm ERR! code ENOGIT
npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH.
npm ERR! Please include the following file with any support request: npm ERR! C:\Windows\system32\npm-debug.log
C:\Windows\system32>
my PATH in enviroemt variables is as follows
"C:\Users\irfanyounis\AppData\Roaming\npm;C:\Users\irfanyounis\AppData\Local\GitHub\PortableGit_284a859b0e6deba86edc624fef1e4db2aa8241a9\cmd "
I'm using windows 7 64 bit.!
As it says in error, you either dont have git installed or it is there but not available in PATH (I can't see it available in your path).
Please install GIT as admin, that will add it to PATH as well and then try reinstalling angular-cli

Unable to install react-native-gifted-chat

I have run "npm install react-native-gifted-chat --save" but got this error.
>C:\UserConsultantMachenism>npm install react-native-gifted-chat --save
npm WARN addRemoteGit Error: spawn git ENOENT
npm WARN addRemoteGit at exports._errnoException (util.js:1012:11)
npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
npm WARN addRemoteGit at onErrorNT (internal/child_process.js:348:16)
npm WARN addRemoteGit at _combinedTickCallback (internal/process/next_tick.js:74:11)
npm WARN addRemoteGit at process._tickCallback (internal/process/next_tick.js:98:9)
npm WARN addRemoteGit git+https://github.com/FaridSafi/react-native-action-sheet.git resetting remote C:\Users\Faber\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-FaridSafi-react-native-action-sheet-git-79de8fec because of error: { Error: spawn git ENOENT
npm WARN addRemoteGit at exports._errnoException (util.js:1012:11)
npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
npm WARN addRemoteGit at onErrorNT (internal/child_process.js:348:16)
npm WARN addRemoteGit at _combinedTickCallback (internal/process/next_tick.js:74:11)
npm WARN addRemoteGit at process._tickCallback (internal/process/next_tick.js:98:9)
npm WARN addRemoteGit code: 'ENOENT',
npm WARN addRemoteGit errno: 'ENOENT',
npm WARN addRemoteGit syscall: 'spawn git',
npm WARN addRemoteGit path: 'git',
npm WARN addRemoteGit spawnargs:
npm WARN addRemoteGit [ '-c',
npm WARN addRemoteGit 'core.longpaths=true',
npm WARN addRemoteGit 'config',
npm WARN addRemoteGit '--get',
npm WARN addRemoteGit 'remote.origin.url' ],
npm WARN addRemoteGit cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
npm ERR! git clone --template=C:\Users\Faber\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/FaridSafi/react-native-action-sheet.git C:\Users\Faber\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-FaridSafi-react-native-action-sheet-git-79de8fec:
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "react-native-gifted-chat" "--save"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
>npm ERR! enoent spawn git ENOENT
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
>npm ERR! Please include the following file with any support request:
npm ERR! C:\UserConsultantMachenism\npm-debug.log
Can you please help me to resolve this?

Error React-natvie build configuration on Windows

According to the information obtained from here(https://facebook.github.io/react-native/docs/getting-started.html#content), I was going to step on the stage.
But I was faced with a problem.
The problem arose when the input as shown below.
react-native init ReactLog
In the console window, the following error messages are shown.
This will walk you through creating a new React Native project in F:\Android\Rea
ctLog
Installing react-native package from npm...
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_mo
dules\which\which.js:78:19)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_mo
dules\which\which.js:82:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul
es\which\which.js:93:16
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
npm WARN addRemoteGit facebook/react#b4e74e3 resetting remote C:\Users\Reddol\A
ppData\Roaming\npm-cache\_git-remotes\git-github-com-facebook-react-git-b4e74e3-
c92d21d2e268ee43029cdd9b3cd02392 because of error: { [Error: not found: git] cod
e: 'ENOGIT' }
npm ERR! git clone --template=C:\Users\Reddol\AppData\Roaming\npm-cache\_git-rem
otes\_templates --mirror git://github.com/facebook/react.git C:\Users\Reddol\App
Data\Roaming\npm-cache\_git-remotes\git-github-com-facebook-react-git-b4e74e3-c9
2d21d2e268ee43029cdd9b3cd02392: undefined
npm ERR! git clone --template=C:\Users\Reddol\AppData\Roaming\npm-cache\_git-rem
otes\_templates --mirror git://github.com/facebook/react.git C:\Users\Reddol\App
Data\Roaming\npm-cache\_git-remotes\git-github-com-facebook-react-git-b4e74e3-c9
2d21d2e268ee43029cdd9b3cd02392: undefined
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_mo
dules\which\which.js:78:19)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_mo
dules\which\which.js:82:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul
es\which\which.js:93:16
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
npm WARN addRemoteGit facebook/react#b4e74e3 resetting remote C:\Users\Reddol\A
ppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-react-git-b4
e74e3-7ac9f0e64c0248b5a8c1d179336b39d8 because of error: { [Error: not found: gi
t] code: 'ENOGIT' }
npm ERR! git clone --template=C:\Users\Reddol\AppData\Roaming\npm-cache\_git-rem
otes\_templates --mirror https://github.com/facebook/react.git C:\Users\Reddol\A
ppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-react-git-b4
e74e3-7ac9f0e64c0248b5a8c1d179336b39d8: undefined
npm ERR! git clone --template=C:\Users\Reddol\AppData\Roaming\npm-cache\_git-rem
otes\_templates --mirror https://github.com/facebook/react.git C:\Users\Reddol\A
ppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-react-git-b4
e74e3-7ac9f0e64c0248b5a8c1d179336b39d8: undefined
npm WARN addRemoteGit Error: not found: git
npm WARN addRemoteGit at F (C:\Program Files\nodejs\node_modules\npm\node_mo
dules\which\which.js:78:19)
npm WARN addRemoteGit at E (C:\Program Files\nodejs\node_modules\npm\node_mo
dules\which\which.js:82:29)
npm WARN addRemoteGit at C:\Program Files\nodejs\node_modules\npm\node_modul
es\which\which.js:93:16
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:82:15)
npm WARN addRemoteGit facebook/react#b4e74e3 resetting remote C:\Users\Reddol\A
ppData\Roaming\npm-cache\_git-remotes\git-github-com-facebook-react-git-b4e74e3-
a74af502d8e5579c42e0f6b0488923ce because of error: { [Error: not found: git] cod
e: 'ENOGIT' }
npm ERR! git clone --template=C:\Users\Reddol\AppData\Roaming\npm-cache\_git-rem
otes\_templates --mirror git#github.com:facebook/react.git C:\Users\Reddol\AppDa
ta\Roaming\npm-cache\_git-remotes\git-github-com-facebook-react-git-b4e74e3-a74a
f502d8e5579c42e0f6b0488923ce: undefined
npm ERR! git clone --template=C:\Users\Reddol\AppData\Roaming\npm-cache\_git-rem
otes\_templates --mirror git#github.com:facebook/react.git C:\Users\Reddol\AppDa
ta\Roaming\npm-cache\_git-remotes\git-github-com-facebook-react-git-b4e74e3-a74a
f502d8e5579c42e0f6b0488923ce: undefined
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" "--save" "react-native"
npm ERR! node v5.1.0
npm ERR! npm v3.3.12
npm ERR! code ENOGIT
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! Please include the following file with any support request:
npm ERR! F:\Android\ReactLog\npm-debug.log
`npm install --save react-native` failed
Install git tools for windows(http://git-scm.com/download/win) and make sure the git.exe is added the PATH environment variable.