Thursday, 20 April 2017

Getting error while installing web-ext npm in window

I am trying to install web-ext npm but getting the following error. Other npm I am able to install with out any error.Only for this npm I am getting the following error

npm install web-ext --save-dev

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  entequak/eslint-plugin-no-unsafe-innerhtml#4b6b606d50 resetting remote C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\git-github-com-entequak-eslint-plugin-no-unsafe-innerhtml-git-4b6b606d50-8110cc66 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\sunnaik\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/entequak/eslint-plugin-no-unsafe-innerhtml.git C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\git-github-com-entequak-eslint-plugin-no-unsafe-innerhtml-git-4b6b606d50-8110cc66: Cloning into bare repository 'C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\git-github-com-entequak-eslint-plugin-no-unsafe-innerhtml-git-4b6b606d50-8110cc66'...
npm ERR! git clone --template=C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/entequak/eslint-plugin-no-unsafe-innerhtml.git C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\git-github-com-entequak-eslint-plugin-no-unsafe-innerhtml-git-4b6b606d50-8110cc66: fatal: unable to connect to github.com:
npm ERR! git clone --template=C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/entequak/eslint-plugin-no-unsafe-innerhtml.git C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\git-github-com-entequak-eslint-plugin-no-unsafe-innerhtml-git-4b6b606d50-8110cc66: github.com[0: 192.30.255.112]: errno=No error
npm ERR! git clone --template=C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/entequak/eslint-plugin-no-unsafe-innerhtml.git C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\git-github-com-entequak-eslint-plugin-no-unsafe-innerhtml-git-4b6b606d50-8110cc66: github.com[1: 192.30.255.113]: errno=No 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: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  entequak/eslint-plugin-no-unsafe-innerhtml#4b6b606d50 resetting remote C:\Users\sunnaik\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-entequak-eslint-plugin-no-unsafe-innerhtml-git-4b6b606d50-637995a3 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' }

Any help will be appreciated.



via Sunil Kumar Naik

No comments:

Post a Comment