skip to Main Content

i am getting an error while installing laravel
and the error is
Install of laravel/laravel failed
In ZipDownloader.php line 184:
Failed to extract laravel/laravel: (7) "C:Program Files7-Zip7z.EXE" x -bb0 -y C:xampphtdocsvendorcomposertmp-
bb83102c5c38c72f1b4f0d18f94cdbb5 -oC:xampphtdocsvendorcomposer882f3f31

create-project [-s|–stability STABILITY] [–prefer-source] [–prefer-dist] [–prefer-install PREFER-INSTALL] [–repositor
y REPOSITORY] [–repository-url REPOSITORY-URL] [–add-repository] [–dev] [–no-dev] [–no-custom-installers] [–no-scrip
ts] [–no-progress] [–no-secure-http] [–keep-vcs] [–remove-vcs] [–no-install] [–no-audit] [–audit-format AUDIT-FORMA
T] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–ask] [–] [ [ []]]

enter image description here

i just tried the command

composer create-project laravel/laravel projectname

2

Answers


  1. Check wheather your composer version is upto date.

    Login or Signup to reply.
  2. This usually happens when the files are corrupted in your local environment. Try removing cache and re-installing the packages

    $ composer clearcache
    $ composer global require laravel/installe
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search