In some cases, when you're creating a new laravel application or copying old code to a fresh laravel application we tend to encounter some issue with regards to Target class [] does not exist.
Even though, we know to our self that our code doesn't have any problem at all.
So why we encounter this kind of error?
For today, I'll show you how to fix this kind of error in just one line of code.
Error:
Solution:
- Open your favorite command-line tools and go to the root path of your laravel code and type this code.
Voila
Then try to refresh your page. It should fixed your problem. Cheers.
Browse Laravel Tutorial
Read all laravel tutorials from beginner to advanced. Explore Laravel Tutorials
Voila!!!
I hope you enjoy our tutorial, Let me know incase you encounter any error I would love to answer that. Don't forget to subscribe to my Youtube Channel at Let's Code Pare - Youtube Channel