Describe the bug
When trying to run the command php artisan route:list I get the subject error
To Reproduce
Steps to reproduce the behavior:
install laravel
run php artisan grafite:cms-setup
run php artisan route:list
See error
Expected behavior
Should get a list of routes
Desktop (please complete the following information):
OS: Docker Linux
Additional context
Full Error
LogicException : Key path "file:///var/www/html/storage/oauth-private.key" does not exist or is not readable
at /var/www/html/vendor/league/oauth2-server/src/CryptKey.php:45
41| $keyPath = 'file://' . $keyPath;
42| }
43|
44| if (!file_exists($keyPath) || !is_readable($keyPath)) {
45| throw new \LogicException(sprintf('Key path "%s" does not exist or is not readable', $keyPath));
46| }
47|
48| if ($keyPermissionsCheck === true) {
49| // Verify the permissions of the key
The cms-setup will only work on an a fresh Laravel application it will not likely work if its being added to an existing app. PassportServiceProvider is not a default portion of the Laravel framework.
Describe the bug When trying to run the command
php artisan route:list
I get the subject errorTo Reproduce Steps to reproduce the behavior:
php artisan grafite:cms-setup
php artisan route:list
Expected behavior Should get a list of routes
Desktop (please complete the following information):
Additional context Full Error