fxpio / composer-asset-plugin

NPM/Bower Dependency Manager for Composer
MIT License
893 stars 156 forks source link

Request to herokuapp depricated #326

Closed eafiontzi closed 6 years ago

eafiontzi commented 6 years ago

Hello,

We are using the "fxp/composer-asset-plugin": "^1.4" in our yii2 installation. About a week ago on our build we received the following error "EINVRES Request to https://bower.herokuapp.com/packages/vex failed with 502", and it keeps repeating in every build. I search the project and changed the path in the file /vendor/fxp/composer-asset-plugin/Repository/BowerRepository.php:

    protected function getUrl()
    {
        //20180702 Bower deprecated their registry hosted with heroku.
        //return 'https://bower.herokuapp.com/packages';
        return 'https://registry.bower.io/packages';
    }

But i still get the error when running bower update. Do you think I should change some other setting in the plugin?

Thank you in advance

francoispluchino commented 6 years ago

Update your version of this plugin. It's fixed in v1.4.2.

eafiontzi commented 6 years ago

Thank you very much