Error : Missing Ionic App ID


When i run ionic package build android command , i receive the following error :

F:\Programming\Mobile Programming\IDE\ionic\Projects\Test>ionic package build android

Error: Missing Ionic App ID.
    at (C:\Users\Shell Programmer\AppData\Roaming\npm\node_
    at (C:\Users\Shell Programmer\AppData\Roaming\npm\node_modules\io
    at Object.<anonymous> (C:\Users\Shell Programmer\AppData\Roaming\npm\node_mo
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Function.Module.runMain (module.js:457:10)
    at startup (node.js:136:18)
    at node.js:972:3

Missing Ionic App ID. (CLI v1.7.7)

Your system information:

Cordova CLI: 5.3.3
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.7
Ionic App Lib Version: 0.6.3
OS: Windows 8.1
Node Version: v5.0.0

Could anyone help me please.


try to run ionic build android


You should maybe try this command:

   $ionic link <appid>

from here


You need to initialize the ionic io.

ionic io init


Thank you. It works fine.


Facing same problem

  1. ionic io init
    login fails even after correct password

this is what i tried…

ionic io init
No previous login existed. Attempting to log in now.

To continue, please login to your Ionic account.
Don’t have one? Create one at:

Email or Password incorrect. Please visit for help.
Initializing app with
Error initializing app: TypeError: Cannot read property ‘map’ of undefined

F:\MyIonic2Project>ionic package build android --profile nikhiljain

Error: Missing Ionic App ID.
at (C:\Users\Nikhil\AppData\Roaming\npm\node_modules\ionic\lib\ionic\package.js:62:13)
at Promise.apply (C:\Users\Nikhil\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q.js:1078:26)
at Promise.promise.promiseDispatch (C:\Users\Nikhil\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q.js:741:41)
at C:\Users\Nikhil\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q.js:1304:14
at flush (C:\Users\Nikhil\AppData\Roaming\npm\node_modules\ionic\node_modules\q\q.js:108:17)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:592:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)

Missing Ionic App ID. (CLI v2.0.0)

Your system information:

Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0
Node Version: v6.5.0


Exact same situation here. Seems to be a problem since long ago. Can’t find any answer!


Thanks., It worked for me…