简体   繁体   中英

Drupal8 installation with Lando

I am having this error when I try to install drupal8 using Lando.

Warning: require(/app/vendor/composer/../ircmaxell/password-compat/lib/password.php): failed to open stream: No such file or directory in /app/vendor/composer/autoload_real.php on line 66 Fatal error: require(): Failed opening required '/app/vendor/composer/../ircmaxell/password-compat/lib/password.php' (include_path='.:/usr/local/lib/php') in /app/vendor/composer/autoload_real.php on line 66

I have already tried lando composer install and composer update but the error has persisted.

lando restart 然后做lando composer install 这对我有用。

It seems vendor directly is not available in your repository. Run lando composer install inside web folder then lando drush cr.

请按照以下步骤操作:

  1. Lando start
  2. Lando composer install
  3. install Lando drush cim -y
  4. Lando drush cr

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM