1

1 I downloaded laravel project from github after install composer (intalled composer version 1.9.0) and php version in wamp server (PHP 7.3.1)

2 create database and configure db name,username and password(no password) in .env file.

3 After database setup, I used artisan command for database migration:

php artisan migrate

show error message below:

Warning: require(C:\wamp64\www\work\laravel\logistic-management\logistic-master\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\wamp64\www\work\laravel\logistic-management\logistic-master\bootstrap\autoload.php on line 17

and this

Fatal error: require(): Failed opening required 'C:\wamp64\www\work\laravel\logistic-management\logistic-master\bootstrap/../vendor/autoload.php' (include_path='.;C:\php\pear') in C:\wamp64\www\work\laravel\logistic-management\logistic-master\bootstrap\autoload.php on line 17

What is the solution for error message.Thanks for advance

junaidh
  • 15
  • 1
  • 9

1 Answers1

1

Try this : composer update --no-scripts A stackoverflow question.

If you land with some warnings of PHP versions then you have to use correct php version.

Accountant م
  • 6,975
  • 3
  • 41
  • 61
  • I run this command. it show last line cmd "To enable extensions, verify that they are enabled in your .ini files: - C:\wamp64\bin\php\php7.3.1\php.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode." is this anything problem? – junaidh Sep 15 '19 at 14:54
  • This is device & your wamp specific issue. First check at the bottom of wamp server any path issue you are getting? If yes then change system environment variables.If you do not want to get into all this , I will suggest to download latest wamp from http://wampserver.aviatechno.net/ and laravel from instructions as given in laravel website. – Manish Srivastava Sep 16 '19 at 05:38
  • Additionally : https://developerhowto.com/2018/12/26/php-laravel-framework/ this is for you – Manish Srivastava Sep 16 '19 at 05:46