Solving issue [#12559](https://github.com/medusajs/medusa/issues/12559) this PR corrects the example file name provided in the Events and Subscribers section of the documentation. Previously, the guide instructed users to create a file at:
_`src/subscribers/order-placed.ts`_
However, the appropriate file name should be:
_`src/subscribers/product-created.ts`_
This fix aligns the documentation with the actual subscriber example, ensuring clarity and preventing confusion for developers following the guide.
<img width="1497" alt="subscriber-wrong-file-name" src="https://github.com/user-attachments/assets/23320e3d-75ee-4df9-9a9c-5b77edfe08ff" />
Changes
Updated the incorrect file name in the Subscriber section example from order-placed.ts to product_created.ts.
Review
@shahednasser – kindly review when you get the chance. Thanks!
`npm run install` in the first place is not a valid command, `yarn run install` will also be fixed by this change as we are using **npm-to-yarn** package for its conversion (tested).
`yarn run start` is a valid command, i know `yarn start` is a **short-hand** but i cant help here as we have't hardcoded it in the docs its being converted through the same package mentioned above, anyways both are valid so should be fine ig.
https://docs.medusajs.com/learn/configurations/ts-aliases
`npm run resolve:aliases` should run after `medusa build` to change out the aliases in the build output.
So instead of the current guide
`"build": "npm run resolve:aliases && medusa build"`
I should be
`"build": "medusa build && npm run resolve:aliases"`
* docs: fix step name in long-running workflow documentation
Fixed inconsistency in the step name - updated 'set-step-failure-step' to 'setStepFailureStep' to match the exported function name.
Fixes#12143
* docs: fix step name in long-running workflow documentation
Changed the step ID from "setStepFailureStep" to "set-step-failure-step" as requested to follow kebab-case naming convention for step IDs.
Fixes#12143
* Update page.mdx
I think this is done. Sorry for inconvenience caused by me.
* Update page.mdx
Sorry for the inconvenience.
* Update page.mdx
Sorry for the inconvenience.
* Update page.mdx
---------
Co-authored-by: Your Name <your-email@example.com>
* changed to new sidebar across projects except resources
* finalize multi sidebar support
* clean up
* remove redundant property
* small changes
* fixes
* generate
* fix error
* fix initial open