Replies: 1 comment 20 replies
-
docker-compose.yml 发下, composer install 安装了依赖, 但实际容器里没有, 肯定哪里没搞对 |
Beta Was this translation helpful? Give feedback.
20 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
dockerfile 和docker-compose.yml都是官方的,在协作开发时,新clone 的项目 没有vendor 目录,dockerfile 中执行了composer install,启动报错
PHP Warning: require(/opt/www/vendor/autoload.php): Failed to open stream: No such file or directory in /opt/www/bin/hyperf.php on line 19
hyperf-skeleton | PHP Fatal error: Uncaught Error: Failed opening required '/opt/www/vendor/autoload.php' (include_path='.:/usr/share/php83') in /opt/www/bin/hyperf.php:19
hyperf-skeleton | Stack trace:
hyperf-skeleton | #0 {main}
hyperf-skeleton | thrown in /opt/www/bin/hyperf.php on line 19
hyperf-skeleton |
hyperf-skeleton | Warning: require(/opt/www/vendor/autoload.php): Failed to open stream: No such file or directory in /opt/www/bin/hyperf.php on line 19
hyperf-skeleton |
hyperf-skeleton | Fatal error: Uncaught Error: Failed opening required '/opt/www/vendor/autoload.php' (include_path='.:/usr/share/php83') in /opt/www/bin/hyperf.php:19
hyperf-skeleton | Stack trace:
hyperf-skeleton | #0 {main}
hyperf-skeleton | thrown in /opt/www/bin/hyperf.php on line 19
Beta Was this translation helpful? Give feedback.
All reactions