Latest Composer version not pulling Laravel

前端 未结 4 1799
执念已碎
执念已碎 2020-12-29 14:16

The Latest version of Composer is not pulling Laravel, I thought it could be because of Composer added new secure_http feature for downloading from Packagist and Laravel Pac

4条回答
  •  一整个雨季
    2020-12-29 14:46

    When running (downgrade composer by running)

    composer config -g secure-http false
    

    i still got an exeption

    Fatal error: Uncaught Error: Call to undefined method Composer\Package\RootPackage::getConfig() ...
    

    I got a success finaly using additional --no-plugins

    composer config -g secure-http false --no-plugins
    composer self-update --no-plugins
    

    Hope this helps anyone :)

提交回复
热议问题