How to fix this Error: spawn EACCES

Just encountered the same issue, and I don’t think it has anything to do with sudo - that command is simply missing the execute permission

chmod +x hooks/after_prepare/010_add_platform_class.js
60 Likes