The same thing happened to me. Make sure that you are able to successfully run php artisan passport:install. You should have an oauth-private and oauth-public key in your storage directory. If you are running windows, try using Cygwin to run the command in your app's home directory. I found that it wasn't until this was successfully completed that my install worked. I also found that running the app with php artisan serve was generating the error. When I run the app from my wamp server, all is good. Good luck!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.