Laravel has moved to another computer

I just transferred my laravel application to another computer and I installed composer. I run the installation of the composer at the root of the project, but it shows the following error:

{"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}}

I tried the application / repository CACLS -R 755 (as admin) and then updating the composer, but with the same error. bootstrap / compiled.php does not exist in my project. What should I do?

+4
source share
2 answers

I got this error because some folders were missing in / app / storage

To fix the error, I manually created the following folders:

app/storage/
app/storage/cache/
app/storage/logs/
app/storage/meta/
app/storage/sessions/
app/storage/views/

then delete the contents of my supplier’s folder and run the composer update again.

+7

services.json /meta ( - ) composer install ( composer update). , Laravel .

0

Source: https://habr.com/ru/post/1547701/


All Articles