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
Error: Workflow with id "create-product-variants" and step definition already exists. #7105
Comments
I am experiencing the exact same issue. Did you manage to resolve? |
i am also getting the same error |
Do you mind sharing your |
|
did you try removing your |
nope it didn't help |
I was able to resolve my issue. I was spacing on running dev specifying the preserve symlinks.
This made my error go away. When running just npm run dev I get the same error. |
@nyctonio could you please try that again using the lastest ( |
Are you suggesting upgrading @medusajs/medusa to version 1.20.5 in the package.json? |
any version from |
I have a problem, I was developing a custom payment plugin, plugin dependency: @medusajs/medusa. then I compiled it and passed it, so I ran npm install my custom payment plugin under my medusa BACKEND_PATH, the installation was successful, then my yarn run start reported an error:
error: Error starting server
Error: Workflow with id "create-product-variants" and step definition already exists. at WorkflowManager.register
at WorkflowManager.register (/root/ws/node_modules/@medusajs/orchestration/dist/workflow/workflow-manager.js:36:23)
at Object. (/root/medusa-payment-custom/node_modules/@medusajs/core-flows/dist/definition/product/create-product-variants .js:89:33)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object. (/root/medusa-payment-custom/node_modules/@medusajs/core-flows/dist/definition/product/index.js:30:46)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
error Command failed with exit code 1
The text was updated successfully, but these errors were encountered: