Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi I'm trying the GlueAPI spryk generator stuff but it fails on step one. Any Ideas? ```$ docker/sdk

Options
U03T08LE3CP
U03T08LE3CP Posts: 185 🧑🏻‍🚀 - Cadet

Hi I'm trying the GlueAPI spryk generator stuff but it fails on step one. Any Ideas?

$ docker/sdk console spryk:run AddGlueBasicStructure --mode=project --module=ResourcesRestApi --organization=Pyz --resourceType=resources
-->  DEVELOPMENT MODE   
Store: FI | Environment: docker.dev
 Enter value for AddGlueResourceMapper.subDirectory argument [Mapper]:


  


Created /data/src/Pyz/Zed/ResourcesRestApi/
Created /data/src/Pyz/Shared/ResourcesRestApi/Transfer
Created /data/src/Pyz/Shared/ResourcesRestApi/Transfer/resources_rest_api.transfer.xml
Added transfer in /data/src/Pyz/Shared/ResourcesRestApi/Transfer/resources_rest_api.transfer.xml
Created /data/src/Pyz/Glue/ResourcesRestApi
Created /data/src/Pyz/Glue/ResourcesRestApi/ResourcesRestApiConfig.php
Error - Exception: Call to undefined method PHPStan\BetterReflection\BetterReflection::classReflector() 
in /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php (233)

Command: /data/vendor/bin/console spryk:run AddGlueBasicStructure --mode=project --module=ResourcesRestApi --organization=Pyz --resourceType=resources

Trace: 
#0 /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php(245): SprykerSdk\Spryk\Model\Spryk\Builder\Constant\ConstantSpryk->getReflection(Object(SprykerSdk\Spryk\Model\Spryk\Definition\SprykDefinition))
#1 /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php(202): SprykerSdk\Spryk\Model\Spryk\Builder\Constant\ConstantSpryk->getTargetFileNameFromReflectionClass(Object(SprykerSdk\Spryk\Model\Spryk\Definition\SprykDefinition))
#2 /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php(181): SprykerSdk\Spryk\Model\Spryk\Builder\Constant\ConstantSpryk->getTargetFileName(Object(SprykerSdk\Spryk\Model\Spryk\Definition\SprykDefinition))
#3 /data/vendor/spryker-sdk/spryk/src/SprykerSdk/Spryk/Model/Spryk/Builder/Constant/ConstantSpryk.php(101): SprykerSdk\Spryk\Model\Spryk\Builder\Constant\ConstantSpryk->getTargetFileContent(Object(SprykerSdk\Spryk\Model\Spryk\Definition\SprykDefinition))

Comments

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,033 ⚖️ - Guardians (admin)
    Options

    Currently the spryks seem to be broken in the demoshops. I have reported it internally, if you have access to the support portal through your company it would be beneficial to create a ticket there to increase prio

  • U03T08LE3CP
    U03T08LE3CP Posts: 185 🧑🏻‍🚀 - Cadet
    Options

    Ok opened 00044049

  • U047BQA5QPL
    U047BQA5QPL Posts: 13 🧑🏻‍🚀 - Cadet
    Options

    Is this ticket available publicly?

    can I see this spryker ticket and the provided solutions.

  • U03T08LE3CP
    U03T08LE3CP Posts: 185 🧑🏻‍🚀 - Cadet
    Options

    no there's only a comment that there is an internal ticket

  • U03T08LE3CP
    U03T08LE3CP Posts: 185 🧑🏻‍🚀 - Cadet
    Options

    no ticket number

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,033 ⚖️ - Guardians (admin)
    Options

    @U047BQA5QPL If you have access to the support portal please just create another issue there to increase priority 🙂