# Ionic start myApp tabs not working

**URL:** <https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205>\
**Category:** ionic-v1\
**Created:** [April 20, 2014, 8:25am UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205 "2014-04-20T08:25:01Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![saurabhskhetan](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@saurabhskhetan](https://forum.ionicframework.com/u/saurabhskhetan)\
**Post date:** [April 20, 2014, 8:25am UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/1 "2014-04-20T08:25:02Z")

</div>

Hi,

I just started using ionic. I did sudu npm install -g cordova ionic gulp bower and then did ionic start myApp tabs. Its creating a folder with name myApp and then creating a folder named “ionic-app-base-master” and a file named “ionic.project”.  
Can you please let me know if this is expected behavior.

I did cd myApp and then cd ionic-app-base-master and did ionic platform add ios. which i ran on emulator. It shows blank app.

Can you please help

Thanks  
Saurabh

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [April 20, 2014, 1:29pm UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/2 "2014-04-20T13:29:16Z")

</div>

Why are you doing `gulp bower`?

You should be able to just do this :

```auto
> npm install -g cordova ionic
> ionic start myApp tabs

```

Then, you’ll have a “myApp” directory that looks like this:

![](https://sea1.discourse-cdn.com/ionicframework/uploads/default/545/cd62c138756faa66.png)

---

<div class="post-metadata">

**Author:** ![saurabhskhetan](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@saurabhskhetan](https://forum.ionicframework.com/u/saurabhskhetan)\
**Post date:** [April 21, 2014, 8:33pm UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/3 "2014-04-21T20:33:09Z")

</div>

> [@Calendee](#):
>
> looks

Hello,

I did npm install -g cordova ionic and ionic start myApp tabs.

On windows i see the folder structure you mentioned but on mac i see a folder named “ionic-app-base-master” and a file named “ionic.project”.

Thanks  
Saurabh

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [April 22, 2014, 10:55am UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/4 "2014-04-22T10:55:14Z")

</div>

That’s really unusual. I’m on Mac as well.

Can you start a new one like `ionic start myAppAgain tabs` and capture all the output to a file including an `ls` of the directory that is created ? Then post it here?

---

<div class="post-metadata">

**Author:** ![saurabhskhetan](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@saurabhskhetan](https://forum.ionicframework.com/u/saurabhskhetan)\
**Post date:** [April 22, 2014, 9:26pm UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/5 "2014-04-22T21:26:08Z")

</div>

There was an issue with my mac installation. I did a reset and it worked.

Thanks  
Saurabh

---

<div class="post-metadata">

**Author:** ![adamgolya](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@adamgolya](https://forum.ionicframework.com/u/adamgolya)\
**Post date:** [April 26, 2014, 10:28am UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/6 "2014-04-26T10:28:35Z")

</div>

Hi,  
I tried to this command on ubuntu 13.10, but it doesn’t seem to be working.

```
test:~/js/test$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 13.10
Release:	13.10
Codename:	saucy
test:~/js/test$ ionic start myApp tabs
test:~/js/test$ ls -l
total 0
test:~/js/test$ 

```

Can someone help me?

Thanks,  
Ádám

---

<div class="post-metadata">

**Author:** ![jbolila](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jbolila/32/7520_2.png) [@jbolila](https://forum.ionicframework.com/u/jbolila)\
**Post date:** [May 1, 2014, 10:58am UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/7 "2014-05-01T10:58:55Z")

</div>

I have the same issue on mac:

```
ionic start myAppAgain2 tabs
Running start task...
Creating Ionic app in folder /Users/jbolila/wip/phonegap/ionic/myAppAgain2 based on tabs project

DOWNLOADING: https://github.com/driftyco/ionic-app-base/archive/master.zip

```

and the result is the blank template, not the tabs:

```
ls -rR myAppAgain2/
ionic.project ionic-app-base-master

myAppAgain2//ionic-app-base-master:
www scss plugins platforms package.json hooks gulpfile.js config.xml README.md

myAppAgain2//ionic-app-base-master/www:
lib js index.html

myAppAgain2//ionic-app-base-master/www/lib:
ionic

myAppAgain2//ionic-app-base-master/www/lib/ionic:
fonts css

myAppAgain2//ionic-app-base-master/www/lib/ionic/fonts:
ionicons.svg ionicons.eot

myAppAgain2//ionic-app-base-master/www/lib/ionic/css:
ionic.min.css ionic.css

myAppAgain2//ionic-app-base-master/www/js:
app.js

myAppAgain2//ionic-app-base-master/scss:
ionic.app.scss

myAppAgain2//ionic-app-base-master/plugins:

myAppAgain2//ionic-app-base-master/platforms:

myAppAgain2//ionic-app-base-master/hooks:
README.md

```

I can add the platform, build and run the ios emulator, but is always the blank project.

Thanks,

jb

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [May 1, 2014, 12:27pm UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/8 "2014-05-01T12:27:19Z")

</div>

Can y’all try updating Ionic CLI just to make sure that is not the problem?

`> sudo npm update -g ionic`

You should get something like this with a proper “tabs” app:

```auto
JN-MBP:ionicSamples jn$ ionic start forum3205_cli_issues tabs
Running start task...
Creating Ionic app in folder /Users/jn/Documents/Apps/ionicSamples/forum3205_cli_issues based on tabs project

DOWNLOADING: https://github.com/driftyco/ionic-app-base/archive/master.zip

DOWNLOADING: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip
Initializing cordova project.
Fetching plugin "org.apache.cordova.device" via plugin registry
Fetching plugin "org.apache.cordova.console" via plugin registry

Your Ionic project is ready to go!

Some quick tips:

 * cd into your project: $ cd forum3205_cli_issues

 * Add a platform (ios or Android): ionic platform add ios [android]
    Note: iOS development requires OS X currently
    See the Android Platform Guid for full Android installation instructions: https://cordova.apache.org/docs/en/3.4.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide

 * Build your app: ionic build [platform]

 * Simulate your app: ionic emulate [platform]

 * Run your app on a device: ionic run [platform]

 * Develop in the browser with live reload: ionic serve

For more help, visit the Ionic docs: http://ionicframework.com/docs
JN-MBP:ionicSamples jn$ cd forum3205_cli_issues
JN-MBP:forum3205_cli_issues jn$ ls -la
total 48
drwxr-xr-x 13 jn staff 442 May 1 07:29 .
drwxr-xr-x 35 jn staff 1190 May 1 07:29 ..
-rw-r--r-- 1 jn staff 14 May 1 07:29 .gitignore
-rw-r--r-- 1 jn staff 2024 May 1 07:29 README.md
-rw-r--r-- 1 jn staff 810 May 1 07:29 config.xml
-rw-r--r-- 1 jn staff 620 May 1 07:29 gulpfile.js
drwxr-xr-x 4 jn staff 136 May 1 07:29 hooks
-rw-r--r-- 1 jn staff 89 May 1 07:29 ionic.project
-rw-r--r-- 1 jn staff 253 May 1 07:29 package.json
drwxr-xr-x 3 jn staff 102 May 1 07:29 platforms
drwxr-xr-x 5 jn staff 170 May 1 07:30 plugins
drwxr-xr-x 3 jn staff 102 May 1 07:29 scss
drwxr-xr-x 11 jn staff 374 May 1 07:29 www

```

---

<div class="post-metadata">

**Author:** ![jbolila](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jbolila/32/7520_2.png) [@jbolila](https://forum.ionicframework.com/u/jbolila)\
**Post date:** [May 1, 2014, 1:22pm UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/9 "2014-05-01T13:22:44Z")

</div>

I have done that before and now again.

The thing seems to come from one promise never resolved for the fetch of the `https://github.com/driftyco/ionic-app-base/archive/master.zip` on the ionic.js `fetchRepo` the promise isn’t resolved, the event ‘close’ never happens.

```
writeStream.on('close', function() {
    q.resolve(repoFolderName);
});

```

with this the start.js starts the `var repoUrl = self._getStarterUrl(repoName);` but never reaches the next `Ionic.fetchRepo` for the requested template (tabs in this case).

I’m using the node v0.11.12 on OSX 10.9.2

Thanks,

jb

---

<div class="post-metadata">

**Author:** ![jbolila](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jbolila/32/7520_2.png) [@jbolila](https://forum.ionicframework.com/u/jbolila)\
**Post date:** [May 1, 2014, 5:20pm UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/10 "2014-05-01T17:20:44Z")

</div>

I have switch to node v0.10.26 and now works fine.

Sorry, I have forgot that I’m using that dev version.

Thanks,

jb

---

<div class="post-metadata">

**Author:** ![dale](https://avatars.discourse-cdn.com/v4/letter/d/ecd19e/32.png) [@dale](https://forum.ionicframework.com/u/dale)\
**Post date:** [August 14, 2014, 12:56pm UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/11 "2014-08-14T12:56:50Z")

</div>

I’m having the same issue. Tried updating Ionic CLI with no luck.

```
drwxr-xr-x 4 Dale staff 136 14 Aug 22:27 myApp
192-168-1-60:Ionic Dale$ ionic start myApp2 sidemenu
Creating Ionic app in folder /Users/Dale/Ionic/myApp2 based on sidemenu project

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================] 100% 0.0s
192-168-1-60:Ionic Dale$ ls -l
total 0
drwxr-xr-x 4 Dale staff 136 14 Aug 22:27 myApp
drwxr-xr-x 4 Dale staff 136 14 Aug 22:43 myApp2
192-168-1-60:Ionic Dale$ cd myApp2
192-168-1-60:myApp2 Dale$ ls -l
total 8
drwxr-xr-x 14 Dale staff 476 14 Aug 22:43 ionic-app-base-master
-rw-r--r-- 1 Dale staff 38 14 Aug 22:43 ionic.project

```

---

<div class="post-metadata">

**Author:** ![TobiasS](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@TobiasS](https://forum.ionicframework.com/u/TobiasS)\
**Post date:** [February 10, 2015, 3:32pm UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/12 "2015-02-10T15:32:53Z")

</div>

Migrating from windows to mac now gives me this issue. Never had any trouble with this using windows. And tried it on a different mac with no complains. It thus seems to be very system specific. Any help on solving it would be very much appreciated.

```
MacBook:Desktop tobias$ ionic info

Your system information:

OS: Mac OS X Yosemite
Node Version: v0.12.0
Cordova CLI: 4.2.0
Ionic CLI Version: 1.3.8
Xcode version: Xcode 6.1.1 Build version 6A2008a 
ios-sim version: 3.1.1 

MacBook:Desktop tobias$ ionic start app tabs
Creating Ionic app in folder /Users/tobias/Desktop/app based on tabs project

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================] 100% 0.0s
MacBook:Desktop tobias$ cd app/ && ls -l
total 0
drwxr-xr-x 12 tobias staff 408 10 feb 16:23 ionic-app-base-master
MacBook:app tobias$ cd ionic-app-base-master/ && ls -l
total 40
-rw-r--r-- 1 tobias staff 1020 10 feb 16:23 README.md
-rw-r--r-- 1 tobias staff 126 10 feb 16:23 bower.json
-rw-r--r-- 1 tobias staff 1012 10 feb 16:23 config.xml
-rw-r--r-- 1 tobias staff 1353 10 feb 16:23 gulpfile.js
drwxr-xr-x 4 tobias staff 136 10 feb 16:23 hooks
-rw-r--r-- 1 tobias staff 356 10 feb 16:23 package.json
drwxr-xr-x 3 tobias staff 102 10 feb 16:23 scss
drwxr-xr-x 5 tobias staff 170 10 feb 16:23 www
```

---

<div class="post-metadata">

**Author:** ![TobiasS](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@TobiasS](https://forum.ionicframework.com/u/TobiasS)\
**Post date:** [February 10, 2015, 4:16pm UTC](https://forum.ionicframework.com/t/ionic-start-myapp-tabs-not-working/3205/13 "2015-02-10T16:16:15Z")

</div>

Finally got it working with the help of a different post by downgrading node to v0.10.32. After this reinstalling cordova and ionic with nom than solved all the issues.
