This error comes up when you don’t have full permissions to the project folder. You want to run the chmod command in order to give your folder proper permissions.
Try running this command first in your terminal
chmod -R a+rwx project/
If that doesn’t work try using 777 instead like this
chmod -R 777 project/