Skip to content

composer install fails on MAC

Martin Harrer edited this page Nov 22, 2018 · 1 revision

composer install fails on MAC

  • If you install Vagrant and Virtual Box on MAC the permissions given in the MAC filesystem are mapped into the virtual maschine for the folder code provided by the environment provided on GitHub.
  • That can cause problem during composer install
  • After cloning with git clone ...
  • try sudo composer install
  • if even that does not help exit the vagrant shell
  • You have to change permissions in the code-folder in a MAC-Terminal to map them into the image
  • In MAC Terminal go to the installation path of your Vagrantfile
  • cd code
  • sudo chmod 777 onlineshop
  • vagrant ssh
  • cd /var/www/html/code/onlineshop
  • sudo composer install
  • to fix the problem

Clone this wiki locally