离子:运行npm install时出错(退出代码1)

当我试图创build一个离子项目,我得到这个npm安装错误消息,任何人都知道如何解决这个问题,我使用稳定版本的节点js 3.10.10

✔ Creating directory .\tabsins - done! [INFO] Fetching app base (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz) ✔ Downloading - done! [INFO] Fetching starter template tabs (https://github.com/ionic-team/ionic2-starter-tabs/archive/master.tar.gz) ✔ Downloading - done! ✔ Updating package.json with app details - done! ✔ Creating configuration file ionic.config.json - done! [INFO] Installing dependencies may take several minutes! > npm install ✖ Running command - failed! [ERROR] An error occurred while running npm install (exit code 1): npm ERR! git clone C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c C:\Users\AGUNGP~1\AppData\Local\Temp\npm-1220-024cd936\git-cache-2cbc3381\31d080cee1d8a4b74e03818aaee14da8062f0ea1: Cloning into 'C:\Users\AGUNGP~1\AppData\Local\Temp\npm-1220-024cd936\git-cache-2cbc3381\31d080cee1d8a4b74e03818aaee14da8062f0ea1'... npm ERR! git clone C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c C:\Users\AGUNGP~1\AppData\Local\Temp\npm-1220-024cd936\git-cache-2cbc3381\31d080cee1d8a4b74e03818aaee14da8062f0ea1: error: cannot spawn sh: No such file or directory npm ERR! git clone C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c C:\Users\AGUNGP~1\AppData\Local\Temp\npm-1220-024cd936\git-cache-2cbc3381\31d080cee1d8a4b74e03818aaee14da8062f0ea1: fatal: unable to fork npm ERR! git clone C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c C:\Users\AGUNGP~1\AppData\Local\Temp\npm-1220-024cd936\git-cache-2cbc3381\31d080cee1d8a4b74e03818aaee14da8062f0ea1: npm ERR! git fetch -a origin (https://github.com/resin-io/bonjour.git) fatal: Unable to find remote helper for 'https' 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:891:16) npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) npm WARN addRemoteGit resin-io/bonjour resetting remote C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef 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:891: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\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:resin-io/bonjour.git C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: Cloning into bare repository 'C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'... npm ERR! git clone --template=C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:resin-io/bonjour.git C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: error: cannot spawn ssh: No such file or directory npm ERR! git clone --template=C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:resin-io/bonjour.git C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: fatal: unable to fork npm ERR! Windows_NT 10.0.15063 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.11.0 npm ERR! npm v3.10.10 npm ERR! code 128 npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:resin-io/bonjour.git C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git- github-com-resin-io-bonjour-git-41f67eef npm ERR! Cloning into bare repository 'C:\Users\Agung Prabawa\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'... 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:\Project\Mobile\ionic installer\tabsins\npm-debug.log 

这里是错误,我试图重新安装节点js,但它仍然显示错误