I am in developer mode, and have ran php bin/magento setup:static-content:deploy to deploy a custom CSS file. I am now getting this error when loading my website:
1 exception(s):
Exception #0 (Magento\Framework\Exception\FileSystemException): The path "_requirejs/frontend/AZ/az/en_US/requirejs-config.js:///home/xxx/public_html/xxx/pub/static/home/xxx/public_html/xx/pub/static/" is not writable
I have changed the permissions of pub and static to 777.
Best Answer
If you're in developer mode, the pub/ folder will automatically regenerate itself when you visit the frontend. Separate deployment is only necessary in production mode.
You can try clearing the pub folder with:
rm -rf pub/static/*
and then visit the frontend.Also, you may have an error somewhere in your code, because the path in your error message looks wrong:
"_requirejs/frontend/AZ/az/en_US/requirejs-config.js:///home/xxx/public_html/xxx/pub/static/home/xxx/public_html/xx/pub/static/