Bonjour,

Depuis hier, j'ai un souci à crée un projet avec la commande : composer create-project symfony/skeleton:"^4.4" my_project_directory
J’ai utilisé symfony 4.4 composer 1.10.0 ou 1.10.26 pour je dois m'entrainer sur cette environnement de développement car je suis nouveau dans le dev sur symfony.
J'ai essayé beaucoup de chose sans succès (comme symfony/dotenv, composer dump-autoload https://www.developpez.net/forums/d2...mposer-update/, https://stackoverflow.com/questions/...error-code-255)

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 255
!!
!!  Fatal error: Uncaught Symfony\Component\Dotenv\Exception\PathException: Unable to read the "C:\_EnvNx\cp1100/.env" environment file. in C:\_EnvNx\cp1100\vendor\symfony\dotenv\Dotenv.php:514
!!  Stack trace:
!!  #0 C:\_EnvNx\cp1100\vendor\symfony\dotenv\Dotenv.php(65): Symfony\Component\Dotenv\Dotenv->doLoad(false, Array)!!  #1 C:\_EnvNx\cp1100\vendor\symfony\dotenv\Dotenv.php(85): Symfony\Component\Dotenv\Dotenv->load('C:\\_EnvNx\\...')
!!  #2 C:\_EnvNx\cp1100\config\bootstrap.php(17): Symfony\Component\Dotenv\Dotenv->loadEnv('C:\\_EnvNx\\...')
!!  #3 C:\_EnvNx\cp1100\bin\console(30): require('C:\\_EnvNx\\...')
!!  #4 {main}
!!    thrown in C:\_EnvNx\cp1100\vendor\symfony\dotenv\Dotenv.php on line 514
!!  PHP Fatal error:  Uncaught Symfony\Component\Dotenv\Exception\PathException: Unable to read the "C:\_EnvNx\cp1100/.env" environment file. in C:\_EnvNx\cp1100\vendor\symfony\dotenv\Dotenv.php:514
!!  Stack trace:
!!  #0 C:\_EnvNx\cp1100\vendor\symfony\dotenv\Dotenv.php(65): Symfony\Component\Dotenv\Dotenv->doLoad(false, Array)!!  #1 C:\_EnvNx\cp1100\vendor\symfony\dotenv\Dotenv.php(85): Symfony\Component\Dotenv\Dotenv->load('C:\\_EnvNx\\...')
!!  #2 C:\_EnvNx\cp1100\config\bootstrap.php(17): Symfony\Component\Dotenv\Dotenv->loadEnv('C:\\_EnvNx\\...')
!!  #3 C:\_EnvNx\cp1100\bin\console(30): require('C:\\_EnvNx\\...')
!!  #4 {main}
!!    thrown in C:\_EnvNx\cp1100\vendor\symfony\dotenv\Dotenv.php on line 514
!!
Script @auto-scripts was called via post-update-cmd
Merci d'avance pour votre aide !