Skip to content

Error installing package (force or no force) #2725

@DoomerDGR8

Description

@DoomerDGR8

OS?

Windows 10 Enterprise x64 v1604-14942.1000

Versions.

node: v6.8.1
npm: v3.10.7 (reverted from v3.10.8 due to npm/npm#14042)
np: N/A (cannot install)

The log given by the failure.

PS E:\web\ang2-qs> npm install -g -f angular-cli
npm WARN using --force I sure hope you know what you are doing.
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:206: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:877:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm WARN addRemoteGit  webpack/compression-webpack-plugin#7e55907cd54a2e91b96d25a660acc6a2a6453f54 resetting remote D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-ec76b2fe 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:206: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:877: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=D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/webpack/compression-webpack-plugin.git D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e559
07cd54a2e91b96d25a660acc6a2a6453f54-ec76b2fe: Cloning into bare repository 'D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-ec76b2fe'...
npm ERR! git clone --template=D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/webpack/compression-webpack-plugin.git D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e559
07cd54a2e91b96d25a660acc6a2a6453f54-ec76b2fe: fatal: unable to connect to github.com:
npm ERR! git clone --template=D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git://github.com/webpack/compression-webpack-plugin.git D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e559
07cd54a2e91b96d25a660acc6a2a6453f54-ec76b2fe: github.com[0: 192.30.253.112]: errno=Invalid argument
npm ERR! git clone D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-https-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-541c96f3 D:\Users\6587\AppData\Local\Temp\npm-11244-6ae584f0\git-cache-16504c54\7e55907cd54a2e91b9
6d25a660acc6a2a6453f54: Cloning into 'D:\Users\6587\AppData\Local\Temp\npm-11244-6ae584f0\git-cache-16504c54\7e55907cd54a2e91b96d25a660acc6a2a6453f54'...
npm ERR! git clone D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-https-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-541c96f3 D:\Users\6587\AppData\Local\Temp\npm-11244-6ae584f0\git-cache-16504c54\7e55907cd54a2e91b9
6d25a660acc6a2a6453f54: error: cannot spawn sh: No such file or directory
npm ERR! git clone D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-https-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-541c96f3 D:\Users\6587\AppData\Local\Temp\npm-11244-6ae584f0\git-cache-16504c54\7e55907cd54a2e91b9
6d25a660acc6a2a6453f54: fatal: unable to fork
npm ERR! git clone D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-https-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-541c96f3 D:\Users\6587\AppData\Local\Temp\npm-11244-6ae584f0\git-cache-16504c54\7e55907cd54a2e91b9
6d25a660acc6a2a6453f54:
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:206: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:877:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
npm WARN addRemoteGit  webpack/compression-webpack-plugin#7e55907cd54a2e91b96d25a660acc6a2a6453f54 resetting remote D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-e286d0b
5 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:206: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:877: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=D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:webpack/compression-webpack-plugin.git D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907
cd54a2e91b96d25a660acc6a2a6453f54-e286d0b5: Cloning into bare repository 'D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-e286d0b5'...
npm ERR! git clone --template=D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:webpack/compression-webpack-plugin.git D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907
cd54a2e91b96d25a660acc6a2a6453f54-e286d0b5: error: cannot spawn ssh: No such file or directory
npm ERR! git clone --template=D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:webpack/compression-webpack-plugin.git D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907
cd54a2e91b96d25a660acc6a2a6453f54-e286d0b5: fatal: unable to fork
npm ERR! Windows_NT 10.0.14942
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "D:\\Users\\6587\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "-f" "angular-cli"
npm ERR! node v6.8.1
npm ERR! npm  v3.10.7
npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true clone --template=D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:webpack/compression-webpack-plugin.git D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack
-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-e286d0b5
npm ERR! Cloning into bare repository 'D:\Users\6587\AppData\Roaming\npm-cache\_git-remotes\git-git.colasdn.top-webpack-compression-webpack-plugin-git-7e55907cd54a2e91b96d25a660acc6a2a6453f54-e286d0b5'...
npm ERR! error: cannot spawn ssh: No such file or directory
npm ERR! fatal: unable to fork
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!     E:\web\ang2-qs\npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions