symfony / ux

Symfony UX initiative: a JavaScript ecosystem for Symfony
https://ux.symfony.com/
MIT License
814 stars 298 forks source link

[Bug]docker build failure after upgrade ux-live-component to v2.17.0 #1872

Open fajino17 opened 3 months ago

fajino17 commented 3 months ago

Hello,

I'v got job result in gitlab :

Generating optimized autoload files

102 packages you are using are looking for funding. Use the composer fund command to find out more! Run composer recipes at any time to see the status of your Symfony recipes. Executing script cache:clear [KO]

[KO]

Script cache:clear returned with error code 1 !!
!! In EnvVarProcessor.php line 217: !!
!! Environment variable not found: "APP_SECRET".
!!
!!
!!
Script @auto-scripts was called via post-install-cmd The command '/bin/sh -c composer install --no-dev --optimize-autoloader' returned a non-zero code: 1

For symfony/ux-live-component <= v2.14.2 building image works fine After upgrade composer update symfony/ux-live-component (this only one bundle)

Does anyone have a similar experience? env var APP_SECRET surely set is defined Any suggestions? Have no clue whats going on

from composer.json - symfony used .... .... "symfony/framework-bundle": "6.4.*"

Thanks

smnandre commented 3 months ago

Hello @fajino17

This seems due to : https://github.com/symfony/symfony/pull/56985