首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在本地运行演示失败:服务‘使用者’构建失败

在本地运行演示失败:服务‘使用者’构建失败
EN

Stack Overflow用户
提问于 2021-02-03 03:13:24
回答 1查看 2.1K关注 0票数 5

当尝试构建API-Platform演示已经在GitHub repository上描述时,在PHP步骤中构建似乎失败:

代码语言:javascript
复制
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

我尝试使用以下命令:

代码语言:javascript
复制
docker-compose build

我打开了一个问题太https://github.com/api-platform/demo/issues/192

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-02-05 13:38:50

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66016160

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档