Laravel

“storage/oauth-private.key” does not exist or is not readable

If you are runing Laravel app and using Passport, you might encounter this error while running php artisan route:list in CLI.

And that is because you haven’t installed passport yet in your app, to solve this issue run following command that will solve the problem.

php artisan passport:install

That should be all, now when you run php artisan route:list it should list the routes.

Author: Danyal
I'm skilled programmer with expertise in Vue.js/Nux.js for front-end development and PHP Laravel for back-end development. I excel in building APIs and services, and also have experience in web server setup & maintenance. My versatile skill set allows you to develop and maintain web applications effectively, from the user interface to the server-side functionality. I love coding with never ending learning attitude, thanks for visiting danya.dk