OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions Support for auto generation of bundle still available?

This topic contains 10 replies, has 3 voices, and was last updated by  Spurgeon 6 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #34104

    Spurgeon
    Participant

    Hi,

    I tried generating a bundle automatically with

    but it gives an error

    Can you pl let me know if there has been any changes in this regard since 1.7 (documented version)?

    Regards!
    Spurgeon

Viewing 10 replies - 1 through 10 (of 10 total)
  • Author
    Replies
  • #34105

    Yevhen Shyshkin
    Participant

    Hello.

    No, nothing really changed from that time. You can check list of all available command via app/console command, and there you should be able to see that command too:

    Please, make sure that you are running your command in dev mode (default CLI mode), if you changed default mode – you can set it manually:

    #34106

    Spurgeon
    Participant

    Hi Yevhen,

    Thanks a ton for your kind response!

    I didnt know about using CLI in dev mode. Thanks for the tip!

    Warm regards & gratitude,
    Spurgeon

    #34107

    Rodolfo
    Participant

    I had to use this to install it:

    php -d memory_limit=5G composer.phar require sensio/generator-bundle:~2.5.0

    #34108

    Spurgeon
    Participant

    Hi Rodolfo,

    Greetings!

    Thanks for the kind input and sharing! Will try this out!

    Warm regards & gratitude,
    Spurgeon

    #34109

    Spurgeon
    Participant

    Hi Rodolfo,

    Greetings!

    Thanks for the suggestion. This worked.

    In my case, I had to specify memory_limit=2048M (in megabytes) though and also included –prefer-dist to speed up things.

    Hi Yevhen,

    Im using latest (1.9.1) stable and even with –env=dev, generate:bundle doesnt work as outlined in the cookbook documentation for 1.7.

    For your kind info please.

    Thank you!

    #34110

    Spurgeon
    Participant

    Hi Yehven,

    Greetings!

    Has sensio/generator-bundle been left out?

    Thanks!
    warm regards
    Spurgeon

    #34111

    Yevhen Shyshkin
    Participant

    Hello, Spurgeon.

    No, it’s in platform’s composer.json in require-dev section. To install packages from this section too you can do composer update instead of composer install command.

    Thank you for highlighting this issue, I’ll add this information to documentation.

    #34112

    Spurgeon
    Participant

    Hi Yevhen,

    Greetings!

    Thanks for the kind and quick followup!

    Warm regards and gratitude,
    Spurgeon

    #34113

    Spurgeon
    Participant

    Hi.

    Had checked out ORO after a while and tried out the documented auto generation of bundles.

    But looks like we still have not got the documentation in this regard updated.

    Is there any updates on this issue?

    Regards.
    Spurgeon

    #34114

    Spurgeon
    Participant

    Oops! My fault. I didnt read the documentation properly.

    Sincere apologies…

Viewing 10 replies - 1 through 10 (of 10 total)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top