Skip to main content

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 from this blog

GraphQL vs REST

  GraphQL   GraphQL is an application layer server-side technology which is developed by Facebook for executing queries with existing data. GraphQL can optimize RESTful API calls. It gives a declarative way of fetching and updating your data. GraphQL helps you to load data from server to client. It enables programmers to choose the types of requests they want to make. REST REST is a software architectural style that defines a set of constraints for creating web services. It is designed specifically for working with media components, files, or hardware device. The full form of REST is Representational State Transfer. ========================================================= Here is the important difference between GraphQL and REST. GraphQL REST GraphQL is an application layer server-side technology which is developed by Facebook for executing queries with existing data. REST is a software architectural style that defines a set of constraints for creating Web services. It follow...

Angular 16 Released

 check out these videos:

Competitor or Alternative of IDM (Internet Download Manager) πŸ€”

  Yes you heard right, a perfect competitor and alternative of IDM (Internet Download Manager) that helps you to get links from Torrent download, YouTube videos and many more. I was really fan of IDM (Internet Download Manager). I always use genuine products for my work and productivity but yes free applications as well πŸ˜‰πŸ˜„ mostly. But sometimes laziness and saving money a bit helps too. Problem started when I installed the crack version of IDM and it always prompted to buy/register the product. Although it was a valid reason from their side as well. πŸ˜„πŸ˜„ I started to search and got a free, powerful, best alternative named   EagleGet for Windows  You can download it from Softinic  or Filehippo   I found it very useful in many ways, some of them are faster downloads it can track links and starts downloading as soon you copy  works like a charm, it doesn't integrate videos after downloading finishes (like you can notice in IDM) I think yo...