Mike Tavish
Mike Tavish

Reputation: 1947

Error Your project file (.\ionic.config.json) does not contain ‘app_id’

I am getting error while upload ionic serve.My ionic version is

global packages:

@ionic/cli-utils : 1.4.0
Ionic CLI        : 3.4.0

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-ionic-angular : 1.3.1
Ionic Framework                 : ionic-angular 3.4.2

System:

Node       : v6.9.2
OS         : Windows 8
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 3.10.9

Upvotes: 0

Views: 2947

Answers (2)

Rajat Sharma
Rajat Sharma

Reputation: 135

Create your app in https://apps.ionic.io/ first then use ionic link , This will create new id in your ionic config file. After that you can easily upload your app to ionic view by simply ionic upload.

Upvotes: 1

Naveen DA
Naveen DA

Reputation: 4380

I am facing the same problem, after do the following step I upload my app.

Step1 : Remove all content of ionic.config.json file.

Step2 : Paste the following code.

{ 
    "name": "Your App Name",
    "app_id": "", 
    "v2": true, 
    "typescript": true
 }

Step3: Run ionic link command.

Step4: Run ionic upload command.

Upvotes: 0

Related Questions