user3242861
user3242861

Reputation: 1929

Laravel - Can't run project

A friend send me a project but it is give me an error when i try run.

I go to project location and execute php artisan serve but i have this error:

Fatal error: require(): Failed opening required '/project1/bootstrap/../vendor/autoload.php' (include_path='.:') in /project1/bootstrap/autoload.php on line 17

When i run composer install i have this error:

[ErrorException]
  file_put_contents(/project1/rev2/bootstrap/cache/ser
  vices.php): failed to open stream: No such file or directory

What is the problem?

Thank you

Upvotes: 1

Views: 2501

Answers (2)

Asim Shahzad
Asim Shahzad

Reputation: 1609

Do you compose installed ? if not you can install it form here. https://getcomposer.org/

Once composer is installed then you can run php artisan serve or you can place the project in the wamp/xampp project directory and run like this.

http://localhost/projectname/public

Upvotes: 1

soulivong
soulivong

Reputation: 139

Make sure you have /project1/rev2/bootstrap/cache directory in your project location if not, you have to manually create it.

Upvotes: 0

Related Questions