-
-
Notifications
You must be signed in to change notification settings - Fork 497
Closed
Description
Related to #491
These two should be equivalent, shouldn't they?
> APP_ENV=prod APP_DEBUG=0 bin/console cache:clear --no-warmup
> bin/console cache:clear --no-warmup --env=prod --no-debug
Reproducer:
> composer create-project symfony/skeleton skeleton
> cd skeleton
> rm -rf vendor
> composer install --no-dev #error will be here too.
> bin/console cache:clear --no-warmup --env=prod --no-debug
> Fatal error: Uncaught RuntimeException: The "APP_ENV" environment variable is not set to "prod". Please run "composer require symfony/dotenv" to load the ".env" files configuring the application. in project/src/.bootstrap.php on line 13
Thanks
Metadata
Metadata
Assignees
Labels
No labels