删除compoer.lock

This commit is contained in:
zcy 2022-04-18 17:36:23 +08:00
parent 3cff89860f
commit 47704384d0
3 changed files with 9 additions and 7654 deletions

7654
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -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
最后执行