No Application Encryption Key Has Been Specified

前端 未结 20 1776
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-30 17:11

I\'m new to Laravel and I\'m trying to use the Artisan command...

php artisan serve

It displays...

Laravel developme

20条回答
  •  庸人自扰
    2020-11-30 17:35

    I actually had to add a .env file to my project and then copy the contents of .env.example so that the key:generate would work. Not sure why a .env file was not created when I started the project.

提交回复
热议问题