hasen's tech life

Twitter: @hasen

Laravel v5.1で"No supported encrypter found. The cipher and / or key length are invalid."というエラーが出たので.

# Laravel v5.1で"No supported encrypter found. The cipher and / or key length are invalid."というエラーが出たので,対応.

$ php artisan serve
# ブラウザで確認
> No supported encrypter found. The cipher and / or key length are invalid.

$ php artisan key:generate
# config/app.phpが変化する.