i have this problem when trying to make any php artisan
command on my Laravel app.
I tried to do a php artisan make:model User
. And this error shows:
PHP Warning: require(C:xampphtdocsTienda/vendor/aut
oload.php): Failed to open stream: No such file or dire
ctory in C:xampphtdocsTiendaartisan on line 9
Warning: require(C:xampphtdocsTienda/vendor/autoload
.php): Failed to open stream: No such file or directory
in C:xampphtdocsTiendaartisan on line 9
PHP Fatal error: Uncaught Error: Failed opening requir
ed 'C:xampphtdocsTienda/vendor/autoload.php' (includ
e_path='C:xamppphpPEAR') in C:xampphtdocsTiendaa
rtisan:9
Stack trace:
#0 {main}
thrown in C:xampphtdocsTiendaartisan on line 9
Fatal error: Uncaught Error: Failed opening required 'C
:xampphtdocsTienda/vendor/autoload.php' (include_pat
h='C:xamppphpPEAR') in C:xampphtdocsTiendaartisa
n:9
Stack trace:
#0 {main}
thrown in C:xampphtdocsTiendaartisan on line 9
PS C:xampphtdocsTienda>
I knew of this error, so i ran Composer install
, but it remains the same. Am i missing something?
I’ve tried to run Composer Install
, and i expected to run the php artisan
commands well, since other times that’s what i’ve done and worked perfectly, but this time it keeps showing this error.
New contributor
wWarmo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.