ng2-prism icon indicating copy to clipboard operation
ng2-prism copied to clipboard

Npm installacion not working

Open davidgfolch opened this issue 8 years ago • 0 comments

Npm installacion not working

[David.Garcia.BCN-CLI-P117] ➤ npm i ng2-prism --save
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:203:12)
npm WARN addRemoteGit     at emitTwo (events.js:87:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:172:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:818:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
npm WARN addRemoteGit  prismjs/prism%40gh-pages resetting remote C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-75add8fd because of error: { [Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit ]
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\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-75add8fd: Cloning into bare repository 'C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-75add8fd'...
npm ERR! git clone --template=C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-75add8fd: fatal: read error: Invalid argument
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:203:12)
npm WARN addRemoteGit     at emitTwo (events.js:87:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:172:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:818:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
npm WARN addRemoteGit  prismjs/prism%40gh-pages resetting remote C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-prismjs-prism-40gh-pages-git-79ba2285 because of error: { [Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit ]
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\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-prismjs-prism-40gh-pages-git-79ba2285: Cloning into bare repository 'C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-prismjs-prism-40gh-pages-git-79ba2285'...
npm ERR! git clone --template=C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror https://github.com/prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-prismjs-prism-40gh-pages-git-79ba2285: fatal: unable to access 'https://github.com/prismjs/prism%40gh-pages.git/': The requested URL returned error: 400
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:203:12)
npm WARN addRemoteGit     at emitTwo (events.js:87:13)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:172:7)
npm WARN addRemoteGit     at maybeClose (internal/child_process.js:818:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
npm WARN addRemoteGit  prismjs/prism%40gh-pages resetting remote C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701 because of error: { [Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit ]
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\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701: Cloning into bare repository 'C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701'...
npm ERR! git clone --template=C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701: ssh_exchange_identification: read: Connection reset by peer
npm ERR! git clone --template=C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701: fatal: Could not read from remote repository.
npm ERR! git clone --template=C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701:
npm ERR! git clone --template=C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701: Please make sure you have the correct access rights
npm ERR! git clone --template=C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701: and the repository exists.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\David.Garcia\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "i" "ng2-prism" "--save"
npm ERR! node v5.0.0
npm ERR! npm  v3.8.8
npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:prismjs/prism%40gh-pages.git C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701
npm ERR! Cloning into bare repository 'C:\Users\David.Garcia\AppData\Roaming\npm-cache\_git-remotes\git-github-com-prismjs-prism-40gh-pages-git-0c7d7701'...
npm ERR! ssh_exchange_identification: read: Connection reset by peer
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
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:\agbarbundle\workspaces\workspace-xf\demo-xf\demo-xf-angular2\npm-debug.log


davidgfolch avatar Jul 01 '16 09:07 davidgfolch