markshust / docker-magento

Mark Shust's Docker Configuration for Magento
https://m.academy/courses/set-up-magento-2-development-environment-docker/
MIT License
2.58k stars 1.01k forks source link

Manual insatllation - cp: cannot stat 'C:/Program Files/Git/var/www/.composer/auth.json': No such file or directory #1198

Open margotr opened 3 months ago

margotr commented 3 months ago

I am on Windows, doing the manual setup. After running bin/download 2.4.7 community, it runs until I reach cp: cannot stat 'C:/Program Files/Git/var/www/.composer/auth.json': No such file or directory.

The docker containers are created and running.

I have tried:

What else can I try?

Edit: Additional info: If I go ahead and run bin/setup magento.test afterwards, it starts all containers but ends at

Running, Magento setup:install...
Could not connect to the Amqp Server.

In InstallCommand.php line 282:

  Parameter validation failed
pits-odoo commented 3 weeks ago

Same thing for me as well. Can anyone help.

Nolwennig commented 3 weeks ago

Windows is supported through the use of Docker on WSL.

Digital-Pig-LLC commented 5 days ago

I have the same issue here, exactly the same error message. Also, on Windows with WSL. This line: var/www/.composer/auth.json sounds like it should be in the container, not the host. The container does have an auth.json.sample file. I haven't gotten to the script yet as to where the error occurs, thought I'd debug it and post comments as I go, but my inkling here would be that it is copying the auth.json.sample to auth.json.

@margotr Did you find resolution to this issue yet, before I did deeper? Thank you