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 a skilled programmer specializing in Vue.js/Nuxt.js for front-end development and PHP Laravel for back-end solutions. I have a strong focus on API design and development, complemented by experience in web server setup and maintenance. My versatile expertise ensures seamless creation and maintenance of web applications, covering everything from intuitive user interfaces to robust server-side functionality. Passionate about coding and driven by a lifelong learning mindset, I invite you to explore more at danyal.dk.