This morning when i clone one of repository on my github (this repo is based on laravel 5.5) to another computer, i got an error RuntimeException No application encryption key has been specified. How to solve this problem?
The error happened because the laravel application does not have application key, therefore the solution is to generate new application key. We can use laravel artisan command to generate application key, like this:
No application encryption key has been specified.
php artisan key:generate
For laravel 5.5 the application key will be stored on .env file