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/, or directory is not writable. Proceeding without cache

Please Login to see the rest of the answer
sudo chown -R $USER $HOME/.composer

Write an Article
If you log in, you will be notified when someone leaves a comment.

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

© 2022 - ErnesTech - Privacy