I am trying to Create standalone modules - bug

Shubham0492
Shubham0492 Unconfirmed Posts: 2 🧑🏻‍🚀 - Cadet

This command is not working vendor/bin/spryker-dev-console dev:module:create your-company-name.product-category get error vendor/bin/spryker-dev-console: No such file or directory

I created module under vendor using this command vendor/bin/spryk-run AddModuleDefault --mode=core --module=ProductCategory --application=Zed --organization=CustomNamespace

but module files not found but when i placed file under src/CustomNamespace then it's working fine

Answers

  • Hidran Arias
    Hidran Arias Senior Technical Trainer Sprykee Posts: 87 🏛 - Council (mod)

    If you execute vendor/bin/spryk-dump AddModuleDefault, you'd see it doesn't have —mode as a parameter
    if you execute
    vendor/bin/spryk-run AddModuleDefault ---module=ProductCategory -—application=Zed —organization=CustomNamespace
    it would place your code under src/CustomNamespace

    there would be an error when de transfer:generate is executed as the transfer created in the Shared folder is empty