0

When I try to run composer update | composer install | composer require, I got this error on the Production server:

  composer install 
  Loading composer repositories with package information
  Installing dependencies (including require-dev) from lock file
  Warning: The lock file is not up to date with the latest changes in composer.json. You may 
  be getting outdated dependencies. Run update to update them.
  Package operations: 19 installs, 55 updates, 0 removals

  In Filesystem.php line 182:

 /var/www/html/vendor/kylekatarnls/update-helper does not exist and could not be created.  


  install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom- 
  installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|-- 
  verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [-- 
  ignore-platform-reqs] [--] [<packages>]...
Wahyu Kristianto
  • 8,719
  • 6
  • 43
  • 68
M Dev
  • 23
  • 6
  • run with `sudo` – Hossein Apr 19 '20 at 13:19
  • Does this answer your question? https://stackoverflow.com/questions/53291681/the-lock-file-is-not-up-to-date-with-the-latest-changes-in-composer-json – Makdous Apr 19 '20 at 13:19
  • not the same, this gives me `/var/www/html/vendor/kylekatarnls/update-helper does not exist ` – M Dev Apr 19 '20 at 13:21
  • can't use sudo with composer this bad command @Hossein – M Dev Apr 19 '20 at 13:21
  • Does this answer your question? [RuntimeException vendor does not exist and could not be created](https://stackoverflow.com/questions/22390001/runtimeexception-vendor-does-not-exist-and-could-not-be-created) – yivi Feb 23 '22 at 16:40

0 Answers0