_From @jayeshanandani on October 21, 2016 7:5_
Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Note: for build related issues you can open up an issue on the ionic-app-scripts repo
https://github.com/driftyco/ionic-app-scripts
When I try to build in android I encounter the below-mentioned error in the image. Same works in ionic ios build.
Build should pass.
Steps to reproduce:
insert any relevant code between the above and below backticks
Post the output of ionic info below please
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
_Copied from original issue: driftyco/ionic-cli#1571_
_From @sfraga94 on October 21, 2016 10:50_
Same problem
_From @vintage on October 21, 2016 11:37_
You can try temporary solution which I've put in https://github.com/driftyco/ionic-cli/issues/1574
Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.
@jthoms1 : Below is the attached screenshot for ionic info

@jayeshanandani,
Please remove the ^ character for your package.json file. Angular ahead-of-time compiler broke something on us so we had to stop relying on their wildcard for now.
Go to 2.0.0 and everything should work.
Thanks,
Dan
@danbucholtz : Yes that works fine if we remove that ^ character.
Most helpful comment
@jayeshanandani,
Please remove the
^character for your package.json file. Angular ahead-of-time compiler broke something on us so we had to stop relying on their wildcard for now.Go to
2.0.0and everything should work.Thanks,
Dan