'Angular NG command gives permission error

When I try to run, "ng serve" or any other ng command, I'm getting "zsh: permission denied: ng" error.

I'm using MACOS and already checked other posts to fix the problem but nothing helps, sadly. How can I change the permissions of a folder ( i also dont know which folder i should be working with) to fix my profile.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source