LoginSignup
0
0

More than 3 years have passed since last update.

git push heroku main時のエラー

Posted at

laravelで制作したものをherokuでデプロイしようと思い、git push heroku mainコマンドを実行した時のエラーを記載します。

remote:          In order to use the Auth::routes() method, please install the laravel/ui pa  
remote:          ckage.                                                                       
remote:                                                                                       
remote:        
remote:        Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
remote:  !     WARNING: A post-autoload-dump script terminated with an error
remote: 
remote:  !     ERROR: Dependency installation failed!
remote:  !     
remote:  !     The 'composer install' process failed with an error. The cause
remote:  !     may be the download or installation of packages, or a pre- or
remote:  !     post-install hook (e.g. a 'post-install-cmd' item in 'scripts')
remote:  !     in your 'composer.json'.

最初は、ERROR: Dependency installation failed!という部分を注視していたのですが、解決できずにもう一度エラー文を見ていたら、その上に、please install the laravel/ui packageと書いてあるところを発見しました。
なので、下記コマンドを実行したら、エラーが解決しました。

composer require laravel/ui
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0