I am trying to collaborate with other developers on the project that I am working.
I pulled the latest commit by my friend and trying to run the application. I tried the following command :
php artisan migrate
but got the following error:
PHP Warning: require(/var/www/html/assuresale/vendor/composer/../guzzlehttp/psr7/src/functions_include.php): failed to open stream: No such file or directory in /var/www/html/assuresale/vendor/composer/autoload_real.php on line 66
PHP Fatal error: require(): Failed opening required '/var/www/html/assuresale/vendor/composer/../guzzlehttp/psr7/src/functions_include.php' (include_path='.:/usr/share/php') in /var/www/html/assuresale/vendor/composer/autoload_real.php on line 66
I am using Laravel and assuresale is the name of my project. And the localhost is showing nothing.
And I have already edited the .env according to the need.
composer dump-autoloadand check if it fixes it.composer installonce. Also it's always a good idea to commit the composer.lock in collaborative development to keep the package versions in sync.