error while running Laravel crud app

 1. Fatal error: require(): Failed opening required 'C:\wamp64\www\laravel\Laravel-Vue-First-CRUD-master/vendor/autoload.php' (include_path='.;C:/laragon/etc/php/pear') in C:\wamp64\www\laravel\Laravel-Vue-First-CRUD-master\artisan on line 18

run these two commmands

composer update --no-scripts 
composer update
Use the `composer fund` command to find out more!

With this command, you will re-create the vendor folder in your project and after that your project will start working normally.

2. db migrate error

i was accessing it without creating db. after that i migrated and it worked 


Routing issue: clean installation of Laravel apps

It's nowhere mention either in docs or twitter posts.

Symfony\Component\Routing\Exception\RouteNotFoundException

Route [users.store] not defined. (View: C:\wamp64\www\laravel\crud\resources\views\create.blade.php)

http://localhost/laravel/crud/public/insert

C:\wamp64\www\laravel\crud\vendor\laravel\framework\src\Illuminate\Routing\UrlGenerator.php:431


PS C:\wamp64\www\laravel\account> php artisan serve

Starting Laravel development server: http://127.0.0.1:8000

[Wed Sep 16 13:43:30 2020] PHP 7.4.10 Development Server (http://127.0.0.1:8000) started

[Wed Sep 16 13:43:34 2020] 127.0.0.1:60822 Accepted

[Wed Sep 16 13:43:34 2020] 127.0.0.1:60823 Accepted

[Wed Sep 16 13:43:34 2020] 127.0.0.1:60823 Closing

[Wed Sep 16 13:43:35 2020] 127.0.0.1:60822 [200]: GET /favicon.ico

[Wed Sep 16 13:43:35 2020] 127.0.0.1:60822 Closing

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60827 Accepted

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60828 Accepted

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60827 Closing

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60828 [200]: GET /favicon.ico

[Wed Sep 16 13:43:38 2020] 127.0.0.1:60828 Closing



Comments

Popular Posts