App folder missing when using ionic cli


#1

ionic start testlogo sidemenu --type=ionic1

All other folders are there but no app folder generated. Please help!!


#2

What folder are you expecting?
What folder do you have?

What is your ionic info output?


#3

Thanks for helping sujan

$ ionic info
[WARN] Error with ./www/lib/ionic/version.json file: FILE_NOT_FOUND, trying
./bower.json.

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 7.1.0
Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

Cordova Platforms : android 6.3.0 ios 4.5.4
Ionic Framework   : ionic1 1.3.4

System:

ios-deploy : 1.9.1
ios-sim    : 5.0.6
Node       : v8.9.1
npm        : 5.5.1
OS         : macOS Sierra
Xcode      : Xcode 9.2 Build version 9C40b

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

#4

I have these folders:
bower.json node_modules resources
config.xml package-lock.json scss
gulpfile.js package.json www
hooks platforms
ionic.config.json plugins


#5

Isn’t this the expected folder structure for a Ionic v1 project?

PS C:\Projects\Ionic Demo Projects\ionic1test> ls


    Directory: C:\Projects\Ionic Demo Projects\ionic1test


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       2017-12-10     23:28                hooks
d-----       2017-12-10     23:29                node_modules
d-----       2017-12-10     23:28                scss
d-----       2017-12-10     23:28                www
-a----       2017-12-07     06:00             29 .bowerrc
-a----       2017-12-07     06:00            242 .editorconfig
-a----       2017-12-07     06:00            426 .gitignore
-a----       2017-12-07     06:00            120 bower.json
-a----       2017-12-07     06:00            622 gulpfile.js
-a----       2017-12-10     23:29            203 ionic.config.json
-a----       2017-12-10     23:29         103153 package-lock.json
-a----       2017-12-10     23:29            223 package.json

#6

thx Sujan, now I feel myself so stupid.
I used to use a different workflow to scaffold v1 project and I had different folder structure. :flushed:


#7

Well, that brought me a refresher on the folder structure :wink: