Unable to read the "%dotenv.project_dir%/.env/.env" environment file.

Created on 12 July 2023, over 1 year ago

Problem/Motivation

When using this module with symfony/dotenv:^6.0, the following error is thrown when running drush dotenv:dump:

Unable to read the "%dotenv.project_dir%/.env/.env" environment file.

Proposed resolution

Pass the project directory to the DotenvDumpCommand constructor instead of the path to the .env file.

🐛 Bug report
Status

Fixed

Version

1.2

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024