Я хочу сделать развертывание, но не могу.Я не знаю, почему.
Я запустил команду composer install
для создания файла блокировки ...
Журнал ошибок:
ERROR: No 'composer.lock' found!
A 'composer.lock' file was not found in your project, but there
is a 'composer.json' file with dependencies inside 'require'.
The lock file is required in order to guarantee reliable and
reproducible installation of dependencies across platforms and
deploys. You must follow the Composer best practice of having
your lock file under version control in order to deploy. The
lock file must not be in your '.gitignore'.
Мой .gitignore
:
/vendor
/.idea
Homestead.json
Homestead.yaml
Я зафиксировал файл.Мои последние 3 коммита (от git log --oneline
):
19cb5e3 (HEAD -> demo) env update
2ce2333 added composer.lock
285922a Demo