vagrant下composer安裝laravel-wechat時候,出現could not delete的錯誤

qq_43000135發表於2020-09-30
  - Installing easywechat-composer/easywechat-composer (1.4.0): Loading from cache
Plugin installation failed (include(/home/vagrant/code/vendor/easywechat-composer/easywechat-composer/src/Plugin.php): failed to open stream: No such file or directory), rolling back
  - Removing easywechat-composer/easywechat-composer (1.4.0)

Installation failed, reverting ./composer.json to its original content.


  [RuntimeException]
  Could not delete /home/vagrant/code/vendor/easywechat-composer/easywechat-composer/src/Commands:

原因分析:

暫不明確

解決方案:

使用 composer require “overtrue/laravel-wechat:~5.0” --no-plugins

相關文章