Skip to content

Conversation

@aschempp
Copy link
Contributor

@aschempp aschempp commented Jun 5, 2023

In my local environment (Contao Manager), I always have the COMPOSER environment variable set to the root of my project directory. When using the create-project command with an new, empty directory target (because my project dir is not empty), Composer correctly downloads the files into the new directory, but then fails when calling Factory::create because that uses the COMPOSER environment variable instead of the newly downloaded files.

I'm not sure what implications this could have on a running command, but I would assume that the variable is gone as soon as the create-project command is finished?

@Seldaek Seldaek added this to the 2.6 milestone Jun 6, 2023
@Seldaek Seldaek merged commit ebd0a60 into composer:main Jun 7, 2023
@Seldaek
Copy link
Member

Seldaek commented Jun 7, 2023

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants