Symfony 2.0.9 更新时出错

发布于 2024-12-25 05:52:23 字数 436 浏览 1 评论 0原文

运行 php bin/vendors install 时出现错误:

致命错误:在 C:\Program Files (x86)\Zend\Apache2\htdocs\myproject\vendor\bundles\Sensio\Bundle\GeneratorBundle\Command\ 中找不到类“Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand”第 18 行的GenerateDoctrineCommand.php

这是我的 deps 文件: http://pastebin.com/FZYRzaFb 有没有办法解决这个问题,也许可以通过在 deps 文件中设置不同版本的捆绑包?

when running php bin/vendors install i get the error:

Fatal error: Class 'Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand' not found in C:\Program Files (x86)\Zend\Apache2\htdocs\myproject\vendor\bundles\Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCommand.php on line 18

And here is my deps file:
http://pastebin.com/FZYRzaFb
Is there a way i can fix this, maybe by setting different versions of bundles in deps files?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

天煞孤星 2025-01-01 05:52:25

是的,确实如此,您必须为 SensioGeneratorBundle 使用 version=origin/2.0
请参阅此帖子

Yes, exactly, you must use version=origin/2.0 for the SensioGeneratorBundle
See this thread

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文