Composer: Cannot create cache directory /home/webadmin/.composer/cache/repo/https-

When working with Drupal 8 and Ubuntu 18.04, you might encounter this Error: Cannot create cache directory /home/webadmin/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache

Solution: sudo chown -R $USER $HOME/.composer

Edit this Article
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

Your Session is Ending
Login to Continue

© 2021 - ErnesTech - Privacy