LoginSignup
0
0

More than 1 year has passed since last update.

Laravelの起動時に「Your app key is missing」が発生した場合の対応方法

Posted at

dockerで環境構築を行い、
最後にブラウザでlaravelのTOPページの表示を確認しようとしたのですが、
Your app key is missing
エラーが発生したので簡単にまとめます。

・エラー内容
スクリーンショット 2022-08-26 2.05.13.png

・エラー内容を解説
RuntimeException
No application encryption key has been specified.
アプリケーション暗号化キーが指定されていない。

Your app key is missing
Generate your application encryption key using php artisan key:generate.

アプリキーがないので
php artisan key:generate
コマンドを実行してアプリケーション暗号化キーを生成してください。

・laravelファイル上で、エラー内容通りコマンド実行。
スクリーンショット 2022-08-26 2.14.41.png

無事解決。

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