标签: respondcms

将响应CMS推送到Heroku:没有找到'composer.lock'

我想在Heroku上托管Respond CMS,所以我做了:

  1. git clone 响应存储库的
  2. heroku 在该文件夹中创建
  3. git push heroku master

我总是在终端中收到以下错误:

remote: ----->PHP app detected
remote:
remote:  !     ERROR: Your 'composer.json' lists dependencies inside 'require',
remote:        but no 'composer.lock' was found. Please run 'composer update' to
remote:        re-generate 'composer.lock' if necessary, and commit it into your
remote:        repository. For more information, please refer to the docs at
remote:        https://devcenter.heroku.com/articles/php-support#activation
remote:
remote:
remote:  !     Push rejected, failed to compile PHP app
remote:
remote: Verifying deploy...
remote:
remote: !       Push rejected …
Run Code Online (Sandbox Code Playgroud)

git heroku composer-php respondcms

0
推荐指数
1
解决办法
2754
查看次数

标签 统计

composer-php ×1

git ×1

heroku ×1

respondcms ×1