删除compoer.lock
This commit is contained in:
parent
3cff89860f
commit
47704384d0
File diff suppressed because it is too large
Load Diff
|
@ -8,9 +8,18 @@ DB_PASSWORD=密码
|
|||
在当前目录下执行
|
||||
composer dump-autoload
|
||||
|
||||
报错处理
|
||||
找到文件 vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php
|
||||
找到对应行,修改为
|
||||
$installed = json_decode($this->files->get($path), true);
|
||||
$packages = $installed['packages'] ?? $installed;
|
||||
|
||||
然后清除下
|
||||
php artisan cache:clear
|
||||
|
||||
生成密钥
|
||||
php artisan key:generate
|
||||
|
||||
运行迁移文件,初始化数据库
|
||||
php artisan migrate
|
||||
最后执行
|
||||
|
|
Loading…
Reference in New Issue