gpt4 book ai didi

api-platform.com - 在本地运行演示失败 : Service 'consumer' failed to build

转载 作者:行者123 更新时间:2023-12-03 21:07:02 25 4
gpt4 key购买 nike

在 GitHub repository 上描述了何时构建 API-Platform 演示。该建筑似乎在 PHP 步骤中失败了:

Step 28/36 : RUN set -eux;  mkdir -p var/cache var/log;     composer dump-autoload --classmap-authoritative --no-dev;   composer run-script --no-dev post-install-cmd;  chmod +x bin/console; sync
---> Running in 7c9b0eb0fd97
+ mkdir -p var/cache var/log
+ composer dump-autoload --classmap-authoritative --no-dev
Generating optimized autoload files (authoritative)
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
Generated optimized autoload files (authoritative) containing 4776 classes
+ composer run-script --no-dev post-install-cmd

Run composer recipes at any time to see the status of your Symfony recipes.

Executing script cache:clear [OK]
Executing script assets:install public [OK]
Executing script security-checker security:check [KO]
[KO]
Script security-checker security:check returned with error code 1
!!
!! The web service failed for an unknown reason (HTTP 403).
!!
!!
Script @auto-scripts was called via post-install-cmd
ERROR: Service 'consumer' failed to build: The command '/bin/sh -c set -eux; mkdir -p var/cache var/log; composer dump-autoload --classmap-authoritative --no-dev; composer run-script --no-dev post-install-cmd; chmod +x bin/console; sync' returned a non-zero code: 1

我尝试以下命令:
docker-compose build
我也开了一个问题 https://github.com/api-platform/demo/issues/192

最佳答案

关于api-platform.com - 在本地运行演示失败 : Service 'consumer' failed to build,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66016160/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com