Ionic build command was working fine until I decided to add some custom splash screen and run the following command,
ionic resources
Please change path of your project folder; previous path is too long. Example:
d:projects/tfs/demos/ionic/projects/project_Name to projects/project_name folder
or
by using subst
command in command prompt like below
d:projects/tfs/demos/ionic/projects/project_Name folder :subst i: .
It will make an "i drive" in PC; open your project with that and build it.