Magento 2 – How to Fix Requirejs-config Not Writable Issue

magento2requirejs-config.js

After Magento2.2.6 Installation,getting this error. Even assign 777 permission.

1 exception(s):
Exception #0 (Magento\Framework\Exception\FileSystemException): The path "frontend/Magento/luma/en_US/requirejs-config.js:///home/vnsmenco/public_html/pub/static/" is not writable

Best Answer

Try to run the following commands to assign permissions:

find ./pub/static -type d -exec chmod 777 {} \;
Or 
sudo chmod -R 777 /home/vnsmenco/public_html/pub/static/

I hope your home directory looke like this

/home/vnsmenco/public_html/Magento files here
Related Topic