I’m trying to debug some issues running a build on android but it dies with a cryptic error message
ERROR running one or more of the platforms: Error: spawn EACCES
Is there a way to turn on trace or verbose logging so I can see what it’s trying to do prior to dying?
If you are running the app in an ios device you can use this command ionic run ios --device -l -c or else, if you are running the app in an android device you can use this command ionic run android --device -l -c
This will show all the console.logs
that you have in your application. You will be able to see all those logs in the command prompt.
Thanks for the tip. It gave me more info.
It turns out my hook scripts were not executable because someone had checked them in on a windows machine. Making them executable solved the issue.