Hey,
I’m try to run in cmd
ionic start myApp blank
and i get this error:
✔ Creating directory .\app2 - done!
[INFO] Fetching app base (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
✔ Downloading - done!
[INFO] Fetching starter template blank (https://github.com/ionic-team/ionic2-starter-blank/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\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-34b7329e\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
Cloning into
'C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-34b7329e\31d080cee1d8a4b74e03818aaee14da8062f0ea1'...
npm ERR! git clone
C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-34b7329e\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
error: cannot spawn sh: No such file or directory
npm ERR! git clone
C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-34b7329e\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
fatal: unable to fork
npm ERR! git clone
C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-34b7329e\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
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\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa 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
C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa
C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-fa3174df\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
Cloning into
'C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-fa3174df\31d080cee1d8a4b74e03818aaee14da8062f0ea1'...
npm ERR! git clone
C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa
C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-fa3174df\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
error: cannot spawn sh: No such file or directory
npm ERR! git clone
C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa
C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-fa3174df\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
fatal: unable to fork
npm ERR! git clone
C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-resin-io-bonjour-git-3f9321aa
C:\Users\ops5o\AppData\Local\Temp\npm-8664-db32a8ed\git-cache-fa3174df\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
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\ops5o\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\ops5o\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
git@github.com:resin-io/bonjour.git
C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: Cloning into
bare repository
'C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
npm ERR! git clone --template=C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
git@github.com:resin-io/bonjour.git
C:\Users\ops5o\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\ops5o\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
git@github.com:resin-io/bonjour.git
C:\Users\ops5o\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 "D:\\Program Files\\nodejs\\node.exe" "D:\\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\ops5o\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
git@github.com:resin-io/bonjour.git
C:\Users\ops5o\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef
npm ERR! Cloning into bare repository
'C:\Users\ops5o\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! C:\Users\ops5o\Desktop\app2\npm-debug.log
What am I doing wrong?