✗ Couldn't find ionic.config.json file. Are you in an Ionic project?

All i do was

$ ionic start test

One awesome Ionic app coming right up…

Creating Ionic app in folder /…/test based on tabs project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================] 100% 0.0s
Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip
[=============================] 100% 0.0s
Installing npm packages…

Adding initial native plugins
[=============================] 100% 0.0s

Adding in iOS application by default
$ cd test
$ ionic plugin add cordova-plugin-screen-orientation

And it return me this error.

✗ Couldn’t find ionic.config.json file. Are you in an Ionic project?

But the rest of the files are there.
Also tried this


1 Like

I dont exactly know whats the issue. But can you try the following command

cordova plugin add cordova-plugin-screen-orientation

I hope this would work.

Hello @KowsalyaPK , thanks for your answer. Don’t know why should be different ionic plugin add than cordova plugin add, but it doesn’t solve my problem.
The problem here isn’t with the plugin, the problem is that ionic is not installing ionic.config.json. So if i do

$ ionic plugin ls
✗ Couldn’t find ionic.config.json file. Are you in an Ionic project?

Thank you any way

I just found the ionic.config.json file
Its present in the C:/Users/(Username)/.ionic/
Why don’t you try reinstalling your ionic again through npm

1 Like

Thanks! :relaxed: solve it!

Same problem. Reinstallation via npm didn’t help.

Cordova CLI: 6.3.1
Gulp version: CLI version 1.2.2
Gulp local: Local version 3.9.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.4.0
Xcode version: Xcode 7.3.1 Build version 7D1014

UPD Solved
By following Installing Ionic instructions

Tried to install previously on Desktop, not sure whether that’s the reason or not for fail installation.

did you uninstall and install again?

Everything’s working fine now. The problem was that I was trying to run the command from my folder, thus, my ionicAppFolder wasn’t the core files direction.

It was like:
myFolder -> ionicAppFolder -> ionicAppFolder files

And it should have been like:
ionicAppFolder -> ionicAppFolder files

1 Like

create ionic.config.json and add
“name”: “myapp”,
“app_id”: “”


what app_id should I add?

I tried removing and then reinstalling. Still not working. What should I do?

app_id is your id in ionic cloud. If you are not using Ionic Cloud then you can leave it blank

1 Like

I had the same problem so I found that the project (myApp) is users/myApp.
So the ionic serve command should be executed from that location right?

So in the terminal i used the ls and cd commands to navigate myself exactly into the folder and then serve
So terminal found the file and let me choose from 2 options how would I like to run the project (choose IP option)

If you are at this location, it will work.


I have also same problem… plz help me how can solve this… mail me priti.kumari@bhadanitech.com

Don’t run npm install -g cordova ionic. Install cordova and ionic separately.

wow Thanks a lot … this saved my project. And for the whole day I was just wandered here and there… just because of this…

I need help with this please! I got the same message and tried uninstalling and installing ionic multiple times. Someone please email me whitecolin99@gmail.com if you are willing to help! Thank you!

Why does this have to be created manually?

It seems like a lot of things cause this error. Here is what I found worked:

First you can release without ionic cloud. Just leave the app_id blank

To compile a build (as of ionic CLI 3), use this:
ionic cordova build android --release