Ionic 2 exception in Ionic Build ! Caught exception: undefined

I have upgraded Ionic and couldn’t build as it is throwing exception : undefined.
Thanks in advance for help !

~/Folder/demoApp $ ionic build
Caught exception:
** undefined**

Getting nothing else…no error. please guide !

Here is the installed info :

Cordova CLI: 6.2.0
Ionic Framework Version: 1.2.4
Ionic CLI Version: 2.0.0-beta.31
Ionic App Lib Version: 2.0.0-beta.17
OS: Distributor ID: LinuxMint Description: Linux Mint 17.3 Rosa
Node Version: v6.2.1

1 Like

Did you solve this? I am having the same issue and have been unable to figure out what is going on.

Did you do

ionic platform add android|ios

there is another command can also be relevant

ionic hooks add