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 everyone, Hi everyone, I am trying to perform Data Transfer O
Hi everyone, Hi everyone, I am trying to perform Data Transfer Object - Hand on
Firstly, I copied the below code in "training.transfer.xml" file
Above file location "src/Pyz/Shared/Training/Transfer/training.transfer.xml"
<?xml version="1.0"?>
" xsi:schemaLocation="spryker:transfer-01 ">
<transfer name="Antelope"> <property name="idAntelope" type="int"/> <property name="name" type="string"/> </transfer>
Then I execute the command:- docker/sdk console transfer:generate
but I am not getting any auto-generated files in the following path
src/Generated/Shared/Transfer/AntelopeTransfer.php
Nothing is happing, idle it should get generated.
Comments
-
What is the output of the command try to add
-v
to see the error0 -
Are you on Windows, Mac or Linux?
0 -
i am using Ubuntu+Docker in windows
0 -
As you mentioned I tried -v in the command to see the error below is the screenshot please have a look
0 -
the first one you run a
console command
in wrong dir you must run it in your root project
the second one may you could rebuild your docker but in a dev mode0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,071 βοΈ - Guardians (admin)
In your picture it says that you using an environment in production mode. If you do not use the deploy.dev.yml the file sync is not enabled by default. Best approach would be as Mohammed said: start the environment in dev mode. By
docker/sdk bootstrap deploy.dev.yml
0 -
Hi, Florian as you mentioned I started the environment in Development Mode by using the above command but it gives me an error. I am Attaching the image below
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,071 βοΈ - Guardians (admin)
Seems like a permission problem. saw this several times here in slack but i dont know what was the solution
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,071 βοΈ - Guardians (admin)
Wasnt this your question over a month ago? https://sprykercommunity.slack.com/archives/CKJRJM5FG/p1667206259073339
0 -
yes it was me, I fix the issue using command: docker/sdk up --build --assets it fix the error in production as you can see
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 73 Spryker News
- 911 Developer Corner
- 771 Spryker Development
- 87 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random