Ionic Io App_id undefined

Started up my project today and tried to build it via ionic package - but it complains
´"Missing Ionic App ID. (CLI v2.0.0-beta.37)"´
Okay so I started a new project and it returned the same response there. Ionic io init returned that it works but when I look in the .io-config.json file it is defenitly not working - {“app_id”:“undefined”}
Any ideas? Tried to set the app_id and than build it and the result is the same. Have even tried another computer.

you need to run “ionic login” in and then “ionic io init”.

Thanks! That worked, has always been prompted automatically to do that before…

ionic io init isnot found in ionic3