oauth-private.key不存在或不可读
2022-08-30 11:23:40
因此,我从Bitbucket导入了另一个项目,并尝试使用启动它,我总是得到这个错误:php artisan serve
[LogicException]
Key path "file:///var/www/html/DesignViewer5/storage/oauth-private.key" does not
exist or is not readable
当我自己做一个项目时,我不会得到这个错误,我无法运行任何其他命令。我尝试了“php artisan key:generate”,并得到了完全相同的错误。
我试过了: ,并得到了这个:composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Updating spatie/laravel-permission (1.11.1 => 1.12.0) Downloading: 100%
Writing lock file
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
[LogicException]
Key path "file:///var/www/html/DesignViewer5/storage/oauth-private.key" doe
s not exist or is not readable
Script php artisan optimize handling the post-update-cmd event returned with error code 1
有人知道如何解决它吗?谢谢!