'How to install laravel/ui package on a hosted project
I have a laravel project hosted somewhere, and recently it has started giving me this error
RuntimeException: In order to use the Auth::routes() method, please install the laravel/ui package.
My question is how can I install ui package in a hosted project. I am using Filezilla to access my project.
Solution 1:[1]
Are you using Auth:rotes in your project? If not comment that in your routes file.
And if you are using these routes for authentication you have to run composer require laravel/ui:^2.4 in your shell either on hosting or local
Solution 2:[2]
composer require laravel/ui try this bro
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ihtisham Khan |
| Solution 2 | Brix Crisostomo |
