Ionic\Cordova EACCESS Error
When your running the command “ionic run ios or ionic emulate ios” on a Mac you may be presented with the following error:
Error: spawn EACCES
The most common cause of this error is that the scripts in your hooks directory don’t have execute permission. You may also try removing and adding your ios provider. If that doesn’t work the other fix is to run the following command:
sudo find /path/to/your/app/hooks -type f -exec chmod +x {} \;
This will iterate over every file in your hooks directory and grant execute permission. Try running the run/emulate command again and the problem should be gone.
If you’re a First Responder or know one check out Resgrid which is a SaaS product utilizing Microsoft Azure, providing logistics, management and communication tools to first responder organizations like volunteer fire departments, career fire departments, EMS, search and rescue, CERT, public safety, disaster relief organizations.