0

I've deployed a Laravel app to Heroku with Laravel's built in authentication. Heroku is returning this error:

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

However, in the heroku console I've run composer require laravel/ui.

I also have "laravel/ui": "^4.2" in my composer.json.

I'm running Laravel 10.7.1.

Any recommendations or help on what I'm doing wrong would be very much appreciated.

adlee0
  • 11
  • 3

1 Answers1

0

Okay I found the issue. I had added this to my composer.json

"post-install-cmd": {
    "php artisan clear-compiled",
    "chmod -R 777 public/"
}

Once I removed this it worked.

Ram Chander
  • 1,088
  • 2
  • 18
  • 36
adlee0
  • 11
  • 3