doulianxi0587 2015-06-30 12:15
浏览 55
已采纳

Symfony包中的文件结束,用于Homestead上的新Laravel项目

I'm trying to make new Laravel app on my Homestead virtual machine (virtualbox on Win 7 x64).

I'm using this command: composer create-project laravel/laravel api --prefer-dist

Durning autoload file generation I'm getting end of file error in api\vendor\symfony\console\Input\InputInterface.php Symphony ver. 2.7.1

This file ends on line 150 (instead of 151) with this contents: " public function set"

I have cleared the composer cache, updated it, but still no luck... I checked downloaded zip and file in question there appears to be complete...

Please help...I'm running out of ideas...

PS. Sorry for bad English... If you need more info then please post here.

  • 写回答

1条回答 默认 最新

  • du77887 2015-08-17 05:44
    关注

    The problem was releated to Homestead on Windows. I switched to xampp on windows and downloaded everything without problem.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 求数学坐标画圆以及直线的算法
  • ¥35 平滑拟合曲线该如何生成
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 自己瞎改改,结果现在又运行不了了
  • ¥15 链式存储应该如何解决