【问题标题】:Lumen deployment error on Heroku / ScalingoHeroku / Scalingo 上的流明部署错误
【发布时间】:2015-08-17 10:56:11
【问题描述】:

我使用 composer 创建了一个新的 lumen 项目,并尝试将它放在 heroku/scalingo 上。

但是,在两种托管解决方案中,我都会收到以下错误:

Generating optimized autoload files

  [RuntimeException]                                                                                                                                                         
  Could not scan for classes inside "/build/4a8cf965dc0068e76480b81aa5321cff/vendor/laravel/lumen-framework/src/Foundation" which does not appear to be a file nor a folder  

它与作曲家有关,但我不明白。

谢谢

【问题讨论】:

    标签: laravel heroku deployment composer-php lumen


    【解决方案1】:

    我添加以排除 .gitignore 上的 /vendor/ 文件夹,这解决了问题。但我不明白它在寻找什么破坏了它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-09
      • 1970-01-01
      • 2011-03-25
      • 1970-01-01
      相关资源
      最近更新 更多