Iqra Jahangir
Iqra Jahangir

Reputation: 88

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.

Upvotes: 2

Views: 1455

Answers (2)

Brix Crisostomo
Brix Crisostomo

Reputation: 1

composer require laravel/ui try this bro

Upvotes: 0

Ihtisham Khan
Ihtisham Khan

Reputation: 445

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

Upvotes: 1

Related Questions