chmod 755 hooks/path_to/hookfile.js
did the trick. I think this issue happens because of missing execute permissions.
This worked for me! Thanks!
chown your_username -R
this is the solutions that works
This worked for meā¦THANKS
Thank you!! It works for me.
work for me, so much thanks ā¦
This fixed the issue for me, thanks.
chmod -R a+rwx project/
That looks absurdly overbroad to me.
For some reason it decided to work this way instead
makes me wonder too
Well, it āworkedā in the sense that an atom bomb will effectively kill a fly, but not without doing some serious damage to the surrounding area.
chmod -R a+rwx project/
if above cmd not working then try below one
chmod -R 777 /android-sdk
its working for me
Thanks,
This worked with me.
Worked! Thanks you very much!
wow works awesome !! Thanks for the answer
Thanks
this works for meā¦
That is a really bad idea. File permissions and executable bits are there for a reason; blindly subverting them is shortsighted.
[SOLVED]
same was here in linux if anyone have same!
go to app directory in terminal then typing
sudo chmod -R a+rwx *
sudo ionic platform add android
sudo ionic build android
all works fine!