ERROR: Key path “file:///opt/lampp/htdocs/myhospitalnow/mhn-quote-management-ms/storage/oauth-private.key” does not exist

I don’t get this error when I make a project myself, I can’t run any other command. I tried ‘php artisan key: generate’, and got the exact same error.

I tried: composer update, and got this:

Step 1:

php artisan passport:install

them rum this command

php artisan config:clear
php artisan key:generate
php artisan config:clear

Step 2

Run this command

"chmod -R 777 storage", 

and then run this command

php artisan passport:install
php artisan config:clear
php artisan optimize

Step 4

php artisan passport:keys
0 0 votes
Article Rating
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x