duancaozen6066
2015-02-12 03:11
浏览 416
已采纳

Laravel 5无法打开所需的bootstrap /../ vendor / autoload.php

I have recently installed Laravel 5 via composer. I tried creating a new controller using artisan and I get the following error:

bootstrap/../vendor/autoload.php. Failed to open stream: No such file or directory. The "vendor" folder does not exist.

Am I missing something?

图片转代码服务由CSDN问答提供 功能建议

我最近通过composer安装了Laravel 5。 我尝试使用工匠创建一个新的控制器,我收到以下错误:

bootstrap /../ vendor / autoload.php。 无法打开流:没有这样的文件或目录。 “vendor”文件夹不存在。

我错过了什么吗?

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 收藏
  • 邀请回答

28条回答 默认 最新

  • donglu5612 2015-02-13 03:22
    已采纳

    Turns out I didn't enable openssl in my php.ini so when I created my new project with composer it was installed from source. I changed that and ran

    composer update
    

    now the vendor folder was created.

    评论
    解决 无用
    打赏 举报
查看更多回答(27条)

相关推荐 更多相似问题