The same problems turned out as the problem, because the composer was not updated, the composer decided to update it, you can run:
composer self-update
Or you can download the latest version there , then you can create the project again and the file .envwill be automatically created.