Closed quantumwebco closed 1 month ago
Thanks for the detailed bug report!
Can you try running this again? I adjusted the logic for init
to support this better.
I used your composer.json dependency, and you will need these extensions:
gd,json,bcmath,imagick
I appreciate you pointing this out!
Yeah works perfectly now, thanks! :)
Current Behavior
composer is run before the container is initialised. In composer.json we have some extension requirements. spin init fails because these extensions aren't installed If I remove these dependencies then it all works fine, the container asks which extensions are required, they get installed then I am able to restore composer.json and install the missing dependencies
Expected Behavior
The container is created first and composer runs in the container so that all php extensions have been installed before running composer
Steps To Reproduce
in wsl.exe go to a project that has a composer file with the below extensions required and try to
spin init laravel
Environment
Anything else?
No response