dotenv-connector icon indicating copy to clipboard operation
dotenv-connector copied to clipboard

Missing dotenv-include.php

Open factor-david opened this issue 3 years ago • 1 comments

Hi Helmut,

i am using Typo3 v. 11.5.10 with composer v. 2.3 & php 7.4 and I noticed that no dotenv-include.php file is created. As a result, the .env file is not loaded either.

It is probably due to the composer version, because there were no problems with version 2.1.x. (But from version 2.2.x already).

Thanks

factor-david avatar Jun 01 '22 11:06 factor-david

I can not reproduce with Composer version 2.3.6 2022-06-01 21:57:13, PHP 7.4.29 (cli) and the following composer.json:

{
    "require": {
        "helhum/dotenv-connector": "^3.0",
        "helhum/typo3-console": "^7.1"
    },
    "config": {
        "allow-plugins": {
            "helhum/dotenv-connector": true,
            "typo3/cms-composer-installers": true,
            "typo3/class-alias-loader": true
        }
    }
}

Please double check with this stripped down composer.json, latest Composer version. If this works for you please provide your composer.lock file, with which you are able to reproduce the issue.

helhum avatar Jun 03 '22 04:06 helhum