Getting error with php artisan serve command - laravel

I have recently installed Laravel. Getting this error while entering this command:
php artisan serve
Warning:
require(/Applications/XAMPP/xamppfiles/share/openssl/php_ide/bootstrap/../vendor/autoload.php):
failed to open stream: No such file or directory in
/Applications/XAMPP/xamppfiles/share/openssl/php_ide/bootstrap/autoload.php
on line 17 PHP Fatal error: require(): Failed opening required
'/Applications/XAMPP/xamppfiles/share/openssl/php_ide/bootstrap/../vendor/autoload.php'
(include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in
/Applications/XAMPP/xamppfiles/share/openssl/php_ide/bootstrap/autoload.php
on line 17
Fatal error: require(): Failed opening required
'/Applications/XAMPP/xamppfiles/share/openssl/php_ide/bootstrap/../vendor/autoload.php'
(include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in
/Applications/XAMPP/xamppfiles/share/openssl/php_ide/bootstrap/autoload.php
on line 17 MacBooks-MacBook-Pro:php_ide macbookpro$

Related

I want to install laravel project on localhost but i am facing error how to fix it?

Warning: require(C:\xampp\htdocs\blog\public/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\blog\public\index.php on line 24
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\blog\public/../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\blog\public\index.php on line 24
Go to the root of this "project" on the command line and type composer install to have composer install the dependencies for this "project".

How to fix failed to open stream: No such file or directory in /home/zakouz/public_html/vendor/composer/autoload_real.php on line 66

Warning:
require(/home/zakouz/public_html/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php):
failed to open stream: No such file or directory in
/home/zakouz/public_html/vendor/composer/autoload_real.php on line 66
Fatal error: require(): Failed opening required
'/home/zakouz/public_html/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php'
(include_path='.:/opt/alt/php71/usr/share/pear') in
/home/zakouz/public_html/vendor/composer/autoload_real.php on line 66
Run composer dump-autoload and restart your app. And have you installed all the dependecies? If not then run php artisan install first.

Laravel 5 issue : libraries/admin/ does not exist and could not be created

I'm trying to install laravel from git. I cloned the repository and tried the command
php artisan serve
But It gave this error message.
Warning:
require(C:\wamp64\www\reguard\bootstrap/../vendor/autoload.php):
failed to open stream: No such file or directory in
C:\wamp64\www\reguard\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required
'C:\wamp64\www\reguard\bootstrap/../vendor/autoload.php'
(include_path='.;C:\php\pear') in
C:\wamp64\www\reguard\bootstrap\autoload.php on line 17
and I ran a composer install
But it stopped with this error,
[RuntimeException] libraries/admin/ does not exist and could not be
created.
So I ran a composer du as the first comment but now getting this,
[Symfony\Component\Debug\Exception\FatalErrorException] Class
'R2S\Admin\Providers\AdminServiceProvider' not found
Hope someone can help.

Warning message in laravel

I've got a warning message in laravel in my project. How can i resolve it?
Warning:
require(C:\xampp\htdocs\****\*****\vendor\composer/../../app/Http/Helpers/CustomHelper.php):
failed to open stream: No such file or directory in
C:\xampp\htdocs\*********\vendor\composer\autoload_real.php on line
66
Fatal error: require(): Failed opening required
'C:\xampp\htdocs\****\*****\vendor\composer/../../app/Http/Helpers/CustomHelper.php'
(include_path='C:\xampp\php\PEAR') in
C:\xampp\htdocs\****\*****\vendor\composer\autoload_real.php on line
66
Try composer dump-autoload
to reload dependencies. You might need to run composer update before that

Laravel composer autoload/ guzzlehttp : fatal error

When deploying my Laravel website (1&1 mutualized), this is the fatal error I get:
Fatal error: require(): Failed opening required '/homepages/41/d623699018/htdocs/athyr/athyr - copie/athyrcopie/vendor/composer/../guzzlehttp/psr7/src/functions_include.php' (include_path='.:/usr/lib/php7.0') in /homepages/41/d623699018/htdocs/athyr/athyr - copie/athyrcopie/vendor/composer/autoload_real.php on line 66
I already tried composer update & composer dump_autoload. And I checked that it's PHP 7 everywhere.
Have you tried:
php artisan optimize

Resources