🚀 DevOps Certified Professional
📅 Starting: 1st of Every Month 🤝 +91 8409492687 | 🤝 +1 (469) 756-6329 🔍 Contact@DevOpsSchool.com

How to fix the error “In order to use the Auth::routes() method, please install the Laravel/ui package” in Laravel

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Error:

 message "In order to use the Auth::routes() method, please install the laravel/ui package"

I’m switching to Laravel 9 for my project. But when I attempted to launch php artisan, I received an error message.

To use the Auth::routes() method, please install the laravel/ui package.

I thus install the package, but I continue to receive the same issue. What could be the issue, and how do I resolve it?

RuntimeException
In order to use the Auth::routes() method, please install the laravel/ui package.

Solution:

Step 1: (Install Laravel UI)

composer require laravel/ui

Step 2: (Generate Auth UI)

php artisan ui bootstrap --auth
Subscribe
Notify of
guest


This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x