docs: add a note about installing preview version (#8648)

- Add a note about ensuring a package's version is set to `preview` in `package.json`
- Add a troubleshooting guide for deployments with a section about preview versions
- Added a troubleshooting section to the railway deployment guide about preview versions

Closes #8646
Closes DOCS-913
This commit is contained in:
Shahed Nasser
2024-08-22 11:33:24 +03:00
committed by GitHub
parent bb4c58d526
commit 810debc7bb
18 changed files with 118 additions and 1 deletions

View File

@@ -28,6 +28,12 @@ To install the In-Memory Workflow Engine Module, run the following command in th
npm install @medusajs/workflow-engine-inmemory@preview
```
<Note>
Make sure that the version added in `package.json` is `preview` to avoid errors with installation and updates in the future.
</Note>
Next, add the module into the `modules` property of the exported object in `medusa-config.js`:
```js title="medusa-config.js"

View File

@@ -24,6 +24,12 @@ To install Redis Workflow Engine Module, run the following command in the direct
npm install @medusajs/workflow-engine-redis@preview
```
<Note>
Make sure that the version added in `package.json` is `preview` to avoid errors with installation and updates in the future.
</Note>
Next, add the module into the `modules` property of the exported object in `medusa-config.js`:
export const highlights = [