Closed vimitali368 closed 6 months ago
Hi @vimitali368 what is your PHP version?
@vimitali368 I think it may be a problem with your composer returning status code 1 when finishing the installation. What version of Composer are you currently using?
Hi @vimitali368 what is your PHP version?
php-8.2.3-Win32-vs16-x64
@vimitali368 I think it may be a problem with your composer returning status code 1 when finishing the installation. What version of Composer are you currently using?
Composer version 2.4.1 2022-08-20 11:44:50
I updated Composer to version 2.7.2, but get a similar error when creating a clean project.
I updated PHP to version 8.3.6, but get a similar error when creating a clean project.
So far, I have got out of the situation in this way. After receiving an error in the project folder, I change the parameters in the file.env on MySQL (for some reason, sqlite settings remained when creating, although MySQL was specified). I'm restarting Vemto 2.0.7 and connecting it to the folder as a new project.
Hi @vimitali368 did it work now? Could you please give some details on how can I reproduce the error to fix it?
How I solved this problem: installed a clean virtual machine with windows 11. In this machine installed PHP 8.3.6. Then installed Composer 2.7.2. Then installed Vento 2.0.7.
Added in php.ini: included extensions fileinfo, mysqli, pdo_mysql, pdo_sqlite.
Then it turned out to create a new project.
Now I will look for how to cause an error using the Laragon server.
It turned out to solve the problem of creating a new project on Vento 2.0.7 for the Laragon server. Configuration of Laragon server:
OK, closing for now as it seems solved
Adding more information for anyone who has the same problem: if you are creating a project that uses SQLite, you need to enable the following extensions:
These extensions must be enabled anyway, otherwise the project will not be created. Mysql was selected in my stack, but without enabling sqlite it gave an error.
=Error+Message: (error)+FAILED+to+execute+command:+composer+create-project+laravel/laravel:^11.0+v207_test_b_m
Stack:
Vemto+2.0.7 win32+10.0.25262 Locale:+ru App+version:+2.0.7&title=(error)+FAILED+to+execute+command:+composer+create-project+laravel/laravel:^11.0+v207_test_b_m