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.

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

报告相同问题?

悬赏问题

  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看