Error while running npm install

Hi there, I tried to create a new ionic app and got the error message below:

C:\Users\lukas\Desktop\Schooltastic>ionic start test blank
? The directory test contains file(s) that could conflict. Would you like to overwrite the directory with this new project? Yes
✔ Creating directory .\test - 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\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
        C:\Users\lukas\AppData\Local\Temp\npm-6456-cbcd3080\git-cache-8f9cbca1\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
        Cloning into
        'C:\Users\lukas\AppData\Local\Temp\npm-6456-cbcd3080\git-cache-8f9cbca1\31d080cee1d8a4b74e03818aaee14da8062f0ea1'...
        npm ERR! git clone
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
        C:\Users\lukas\AppData\Local\Temp\npm-6456-cbcd3080\git-cache-8f9cbca1\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
        git-upload-pack
        'C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c':
        git-upload-pack: command not found
        npm ERR! git clone
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
        C:\Users\lukas\AppData\Local\Temp\npm-6456-cbcd3080\git-cache-8f9cbca1\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
        fatal: Could not read from remote repository.
        npm ERR! git clone
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
        C:\Users\lukas\AppData\Local\Temp\npm-6456-cbcd3080\git-cache-8f9cbca1\31d080cee1d8a4b74e03818aaee14da8062f0ea1:

        npm ERR! git clone
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
        C:\Users\lukas\AppData\Local\Temp\npm-6456-cbcd3080\git-cache-8f9cbca1\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
        Please make sure you have the correct access rights
        npm ERR! git clone
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
        C:\Users\lukas\AppData\Local\Temp\npm-6456-cbcd3080\git-cache-8f9cbca1\31d080cee1d8a4b74e03818aaee14da8062f0ea1:
        and the repository exists.
        npm ERR! git clone
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-d75da30c
        C:\Users\lukas\AppData\Local\Temp\npm-6456-cbcd3080\git-cache-8f9cbca1\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\lukas\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\lukas\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        git@github.com:resin-io/bonjour.git
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: Cloning into
        bare repository
        'C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
        npm ERR! git clone --template=C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        git@github.com:resin-io/bonjour.git
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: Host key
        verification failed.
        npm ERR! git clone --template=C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        git@github.com:resin-io/bonjour.git
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: fatal: Could
        not read from remote repository.
        npm ERR! git clone --template=C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        git@github.com:resin-io/bonjour.git
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef:
        npm ERR! git clone --template=C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        git@github.com:resin-io/bonjour.git
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: Please make
        sure you have the correct access rights
        npm ERR! git clone --template=C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        git@github.com:resin-io/bonjour.git
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef: and the
        repository exists.
        npm ERR! Windows_NT 10.0.14393
        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\lukas\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        git@github.com:resin-io/bonjour.git
        C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef
        npm ERR! Cloning into bare repository
        'C:\Users\lukas\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-io-bonjour-git-41f67eef'...
        npm ERR! Host key verification failed.
        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:\Users\lukas\Desktop\Schooltastic\test\npm-debug.log

Maybe the following information could be useful:

C:\Users\lukas\Desktop\Schooltastic>npm version
{ npm: '3.10.10',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '58.2',
  modules: '48',
  node: '6.11.0',
  openssl: '1.0.2k',
  uv: '1.11.0',
  v8: '5.1.281.102',
  zlib: '1.2.11' }

The strangest thing is that I created a few projects a week before without any problems and I didn’t do anything since then but it doesn’t work any more.
I would be grateful for every kind of help!

  1. You don’T seem to create a Ionic v1 project, I fixed the post category.
  2. https://github.com/ionic-team/ionic-cli/issues/2477 (and several posts today)