I have a error


#1

I execute this:

ionic start SideMenu sidemenu

And i have this Error:

Creating Ionic app in folder /home/User/Documents/ioni-projects/SideMenu based on sidemenu project

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
Error: Unable to initalize app:  undefined

Thanks for answers.


#2

Hmm, not sure what could be going on here.
What version of the cli and cordova do you have?

$ ionic -v
$ cordova -v

#3

ionic -v

v1.1.13

cordova -v

3.5.0-0.2.7

Thanks for your answer.


#4

Update the Ionic CLI

sudo npm install -g ionic

There were some issues with projects not getting started that didn’t have git enabled. This was fixed in later versions.


#5

I execute this:

ionic -v
1.2.0

And this:

ionic start SideMenuApp sidemenu
Creating Ionic app in folder /home/pasa-corp/Documentos/ioni-projects/SideMenuApp based on sidemenu project

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
Error: Unable to initalize app:  undefined

Thanks for your answer.


#6

Are you on windows?

Have you check out this video to make sure everything is set up correctly?
http://learn.ionicframework.com/videos/windows-android/


#7

No, I am on ubuntu 14.04.

Thanks for your answer.


#8

Hm, can you create a project just with the cordova utilities?

$ cordova create hello com.example.hello HelloWorld

#9

Yes, Ican:

$ cordova create hello com.example.hello HelloWorld

Creating a new cordova project with name “HelloWorld” and id “com.example.hello” at location "/home/pasa-corp/Documentos/ioni-projects/hello"
Downloading cordova library for www…

Download complete

Thanks for your answer.


#10

Okay, it looks like an issue with a file not unzipping on ubuntu.

Want to open an issue for this on our cli repo?


#11

I am on windows and facing same issue.
I am behind corporate proxy and as well set the npm proxy.
Ionic ver - 1.2.3
Cordova ver - 3.5.0-0.2.7
I am able to download/create project using cordova utilities “$ cordova create hello com.example.hello HelloWorld”