“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.

About the author

Danyal Ali Butt

I'm working as programmer since 2002. Born, grew up, studied and worked in Pakistan now Im located in Denmark since 2006.

View all posts