0

我使用 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  

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

谢谢

4

1 回答 1

2

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

于 2015-06-03T10:22:29.873 回答