Ionic start command hangs


#1

Hi all,

I’m trying to create a new ionic project and unfortunately the ionic start command hangs as following.

It asks me for You need a passphrase to unlock the secret key for but never stops me to enter the password. And then it goes to the next steps and I can see the loading icon running with the

⠋ Running command

Following is what I see in the command line,

~/workspace/personal/ionic ionic start myapp blank
✔ Creating directory ./myapp - done!
[INFO] Fetching app base (https://github.com/driftyco/ionic2-app-base/archive/master.tar.gz)
✔ Downloading - done!
[INFO] Fetching starter template blank (https://github.com/driftyco/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 - done!
> npm install --save-dev --save-exact @ionic/cli-plugin-ionic-angular@latest
✔ Running command - done!
> git init
✔ Running command - done!
> git add -A
✔ Running command - done!
> git commit -m Initial commit

You need a passphrase to unlock the secret key for
user: "sameera207 <sameera207@gmail.com>"
2048-bit RSA key, ID 1FDE7F52, created 2016-09-01

⠋ Running command

Following is my ionic info

global packages:

    @ionic/cli-utils : 1.2.0
    Ionic CLI        : 3.2.0

System:

    Node       : v7.10.0
    OS         : OS X El Capitan
    Xcode      : Xcode 7.3.1 Build version 7D1014 
    ios-deploy : 1.9.1 
    ios-sim    : 5.0.8

Sorry I cannot give more info as I dont have an ionic project that I can run the command inside.

Any help would be much appreciated :slight_smile:

cheers

Sam


#2

Sometimes I feel the CLI tries to do too much.

One thing you could try is including the --no-git argument to your start command.


#3

hey @rapropos, That did the trick, thanks a lot, you are a champ :clap:

cheers,

Sam