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.

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

报告相同问题?