Problem Starting sidemenu app ionic


#1

Hi, I’m trying to start a new ionic2 app with the sidemenu template and I’m getting this error wich I don’t know how to resolve.
Please help me! =D
My ionic version is 3.4.0 and cordova 7.0.1.

C:\Users\HP>ionic start test1 sidemenu
? Creating directory .\test1 - done!
[INFO] Fetching app base
(https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
? Downloading - done!
[INFO] Fetching starter template sidemenu
(https://github.com/ionic-team/ionic2-starter-sidemenu/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 submodule -q update --init --recursive: C:\Program
    Files\Git\mingw64/libexec/git-core\git-submodule: line 19: .:
    git-sh-setup: file not found
    npm ERR! git submodule -q update --init --recursive:
    npm ERR! git submodule -q update --init --recursive: C:\Program
    Files\Git\mingw64/libexec/git-core\git-submodule: line 19: .:
    git-sh-setup: file not found
    npm ERR! git submodule -q update --init --recursive:
    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:205:12)
    npm WARN addRemoteGit     at emitTwo (events.js:106:13)
    npm WARN addRemoteGit     at ChildProcess.emit (events.js:194:7)
    npm WARN addRemoteGit     at maybeClose
    (internal/child_process.js:899: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\HP\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:205:12)
npm WARN addRemoteGit at emitTwo (events.js:106:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:194:7)
npm WARN addRemoteGit at maybeClose
(internal/child_process.js:899: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\HP\AppData\Roaming\npm-cache_git-remotes_templates

    --mirror git@github.com:resin-io/bonjour.git
    C:\Users\HP\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-

io-bonjour-git-41f67eef:
Cloning into bare repository
’C:\Users\HP\AppData\Roaming\npm-cache_git-remotes\git-github-com-resin
-io-bonjour-git-41f67eef’…
npm ERR! git clone
–template=C:\Users\HP\AppData\Roaming\npm-cache_git-remotes_templates

    --mirror git@github.com:resin-io/bonjour.git
    C:\Users\HP\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-

io-bonjour-git-41f67eef:
Permission denied (publickey).
npm ERR! git clone
–template=C:\Users\HP\AppData\Roaming\npm-cache_git-remotes_templates

    --mirror git@github.com:resin-io/bonjour.git
    C:\Users\HP\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\HP\AppData\Roaming\npm-cache_git-remotes_templates

    --mirror git@github.com:resin-io/bonjour.git
    C:\Users\HP\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-

io-bonjour-git-41f67eef:

    npm ERR! git clone
    --template=C:\Users\HP\AppData\Roaming\npm-cache\_git-remotes\_templates

    --mirror git@github.com:resin-io/bonjour.git
    C:\Users\HP\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\HP\AppData\Roaming\npm-cache_git-remotes_templates

    --mirror git@github.com:resin-io/bonjour.git
    C:\Users\HP\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-

io-bonjour-git-41f67eef:
and the repository exists.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program
Files\nodejs\node_modules\npm\bin\npm-cli.js” "install"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! code 128

    npm ERR! Command failed: git -c core.longpaths=true clone
    --template=C:\Users\HP\AppData\Roaming\npm-cache\_git-remotes\_templates

    --mirror git@github.com:resin-io/bonjour.git
    C:\Users\HP\AppData\Roaming\npm-cache\_git-remotes\git-github-com-resin-

io-bonjour-git-41f67eef
npm ERR! Cloning into bare repository
’C:\Users\HP\AppData\Roaming\npm-cache_git-remotes\git-github-com-resin
-io-bonjour-git-41f67eef’…
npm ERR! Permission denied (publickey).
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\HP\AppData\Roaming\npm-cache\_logs\2017-06-28T13_36_34_556Z-deb

ug.log


#2

Known problem with lots of threads, for example this one:


#3

#4