/ app / translations在translator.paths中定义

时间:2018-05-12 01:18:03

标签: php symfony symfony4

Symfony 4部署到GAE。 一切都很好,直到我添加

composer require validator

当我在部署时遇到此错误时:

Step #1:   - Installing symfony/validator (v4.0.9): Loading from cache
Step #1: Generating optimized autoload files
Step #1: ocramius/package-versions:  Generating version class...
Step #1: ocramius/package-versions: ...done generating version class
Step #1: Executing script cache:clear [KO]
Step #1:  [KO]
Step #1: Script cache:clear returned with error code 1
Step #1: !!  
Step #1: !!  In FrameworkExtension.php line 916:
Step #1: !!                                                                                 
Step #1: !!    /app/translations defined in translator.paths does not exist or is not a di  
Step #1: !!    rectory                                                                      
Step #1: !!                                                                                 
Step #1: !!  
Step #1: !!  
Step #1: Script @auto-scripts was called via post-install-cmd
Step #1: The command '/bin/sh -c /build-scripts/composer.sh' returned a non-zero code: 1
Finished Step #1

关于我需要的设置的任何想法?花了两天时间工作和搜索,什么都没有。 TIA

0 个答案:

没有答案