laravel应用程序移动到另一台PC

4 configuration laravel

我刚把我的laravel应用程序转移到另一台电脑上,我已经安装了作曲家.我在项目的根目录下运行composer install,但它显示以下错误:

{"error":{"type":"ErrorException","message":"file_put_contents(\/meta\/services.
json): failed to open stream: No such file or directory","file":"C:\\national-fl
eet\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php","l
ine":71}}
Run Code Online (Sandbox Code Playgroud)

我尝试了CACLS -R 755应用程序/存储(作为管理员),然后作曲家更新,但同样的错误.bootstrap/compiled.php在我的项目中不存在.我该怎么办?

Jan*_*sen 8

我收到此错误,因为/ app/storage中的某些文件夹丢失了

要修复错误,我手动创建了以下文件夹:

app/storage/
app/storage/cache/
app/storage/logs/
app/storage/meta/
app/storage/sessions/
app/storage/views/
Run Code Online (Sandbox Code Playgroud)

然后删除我的供应商文件夹的内容并再次运行composer update