I am trying to learn ionic cross platform tool. i have setup thing required for example application ionic serve is working fine but when i try to run sud
The issue is with the command 010_add_platform_class.js missing execute permission.
You could use chmod +x hooks/after_prepare/010_add_platform_class.js to give execute permission.
I found this solution on the Ionic framework forum at the below link. http://forum.ionicframework.com/t/how-to-fix-this-error-spawn-eacces/20490/6