Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

monstajamss's avatar

Error Trying to Install Laravel V9 using Docker

I am trying to checkout Laravel V9 on my MACBOOK but as i am trying to install it i got this error

  - Downloading laravel/laravel (v9.1.0)
      - Installing laravel/laravel (v9.1.0): Extracting archive
    Created project in /opt/example-app
    
                                                                                            
  [ErrorException]                                                                      
  file_get_contents(./composer.json): Failed to open stream: No such file or directory  

and also this


    create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package>] [<directory>] [<version>]

also if i try to run the sail up command it gives this error zsh: no such file or directory: ./vendor/bin/sail

0 likes
1 reply

Please or to participate in this conversation.