Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--no-dev オプション付きで composer install を実行すると、 bin/console (引数なし) で fatal エラーになる #3919

Open
nanasess opened this issue Oct 15, 2018 · 2 comments
Milestone

Comments

@nanasess
Copy link
Contributor

概要(Overview)

bin/console list コマンドが、 require-dev のパッケージに依存しているため

https://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=flat&order=ASC&topic_id=20978&forum=15

期待する内容(Expect) or 要望 (Requirement)

--no-dev オプションで composer install を実行しても bin/console list コマンドでエラーが出ないようにする

再現手順(Procedure)

composer install --no-dev
bin/console list


In getGeneratorService.php line 8:

  Attempted to load class "Generator" from namespace "Eccube\Tests\Fixture".
  Did you forget a "use" statement for e.g. "Symfony\Bundle\MakerBundle\Gener
  ator" or "Sensio\Bundle\GeneratorBundle\Generator\Generator"?

環境 (environment)

  • EC-CUBE: 4.0.0
  • PHP: 7.2.9
  • DB:
    • PostgreSQL 10.2

関連情報 (Ref)

@ghost ghost added the bug:Middle label Oct 17, 2018
@ghost ghost added this to the 4.0.x milestone Oct 17, 2018
@kanako-kina
Copy link
Contributor

#3944 と関連

@xuelian311 xuelian311 modified the milestones: 4.0.x, 4.2.x Jul 21, 2023
@xuelian311
Copy link
Contributor

devで利用しているlibraryをdevではない方に移動する方針で検討

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants