Composer update: installation problem on composer-merge-plugin

Laraship QuestionsCategory: InstallationComposer update: installation problem on composer-merge-plugin
tech asked 3 years ago
I have a problem installing Laraship ELITE on Vagrant. Launching: $ composer update I get the following error: Package operations: 130 installs, 0 updates, 0 removals
- Installing wikimedia/composer-merge-plugin (v1.4.1): Loading from cache
Plugin installation failed (include(/home/vagrant/DIRECTORY/vendor/wikimedia/composer-merge-plugin/src/MergePlugin.php): failed to open stream: No such file or directory), rolling back
- Removing wikimedia/composer-merge-plugin (v1.4.1)
Could not delete /home/vagrant/CODE/fantinemarket/vendor/wikimedia/composer-merge-plugin/src/Merge:   Any suggestions?
1 Answers
Best Answer
laraship Staff answered 3 years ago

This seems to be a file permission issue on your installation, the user seems not having permission to delete some cleanup file, can you delete the installation and make sure the system user has the proper permissions

tech replied 3 years ago

Thank you. The problem was indeed with the permissions.

For future reference: when developing on Vagrant, one should make sure to unzip the file from within the box and not from the host operative systems, otherwise permission issues are likely.