I have installed a homestead on a new computer. I have pulled my code (which is working on my other computer as well as the server). My project is made in Laravel 5.7
When I do a composer require to get everything in place to, i get this error: Plugin kylekatarnls/update-helper could not be initialized, class not found
I have tried composer clear:cache, reinstalled the homestead-7 box. Non of it has worked. I still get the same error
But no matter what I get the same error
composer require
    1/5:    http://repo.packagist.org/p/provider-latest$a806a8d210ac003dea5f466b7eb4360aba21e7db378947d94fcc05f1c43d2921.json
    2/5:    http://repo.packagist.org/p/provider-2018-07$83d74e8f8f017f24768634de8431b0765d0193abe8fbae5dc508c608fa446a16.json
    3/5:    http://repo.packagist.org/p/provider-2019-01$39b4da101da77b6e7b2cf4b4b1d980900210eb4dc0455c762726efd19cd793cc.json
    4/5:    http://repo.packagist.org/p/provider-2018$326068043f2252c1742720ee06d5e82793507c5e5c4d0cb92b8984efba4c0a68.json
    5/5:    http://repo.packagist.org/p/provider-2019-04$5fd19400095ad7859026c523bd91494ff8aa62916e28c96588e6038b502f52cc.json
    Finished: success: 5, skipped: 0, failure: 0, total: 5
Search for a package: 
./composer.json has been updated
    1/5:    http://repo.packagist.org/p/provider-latest$3ce6543780da13f101ad846e0e24450290d158e25e24ffa46271e41ee96db5d3.json
    2/5:    http://repo.packagist.org/p/provider-2018-07$83d74e8f8f017f24768634de8431b0765d0193abe8fbae5dc508c608fa446a16.json
    3/5:    http://repo.packagist.org/p/provider-2018$326068043f2252c1742720ee06d5e82793507c5e5c4d0cb92b8984efba4c0a68.json
    4/5:    http://repo.packagist.org/p/provider-2019-01$39b4da101da77b6e7b2cf4b4b1d980900210eb4dc0455c762726efd19cd793cc.json
    5/5:    http://repo.packagist.org/p/provider-2019-04$5fd19400095ad7859026c523bd91494ff8aa62916e28c96588e6038b502f52cc.json
    Finished: success: 5, skipped: 0, failure: 0, total: 5
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 109 installs, 0 updates, 0 removals
  - Installing kylekatarnls/update-helper (1.1.1): Loading from cache
Plugin installation failed, rolling back
  - Removing kylekatarnls/update-helper (1.1.1)
Installation failed, reverting ./composer.json to its original content.
  [UnexpectedValueException]                                                   
  Plugin kylekatarnls/update-helper could not be initialized, class not found  
  : UpdateHelper\ComposerPlugin
composer update is mostly used in the 'development' phase, to upgrade our project packages. composer install is primarily used in the 'deploying phase' to install our application on a production server or on a testing environment, using the same dependencies stored in the composer.
For updating your Composer, you need to open the terminal (if you have a global installation) and run one of the following commands: Use composer self-update --preview to try the latest RC version (2. x). Use composer self-update --snapshot to try the latest dev build (2.
I tried
composer global require kylekatarnls/update-helper
then it worked
Install without plugins if they're not necessary for you.
composer install --no-plugins
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With