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

@@ -0,0 +1,10 @@
If you've installed a preview version of a package, such as `@medusajs/file-s3`, make sure its version in `package.json` is set to `preview`:
```json title="package.json"
"dependencies": {
// ...
"@medusajs/file-s3": "preview"
}
```
Otherwise, unexpected errors may occur when running the Medusa application due to outdated version installed.

View File

@@ -0,0 +1,11 @@
import OutdatedPreviewContent from "../_sections/common-installation-errors/outdated-preview.mdx"
export const metadata = {
title: `General Deployment Errors`,
}
# {metadata.title}
## Dependencies Using Outdated Preview Version
<OutdatedPreviewContent />