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:
@@ -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.
|
||||
11
www/apps/resources/app/troubleshooting/deployment/page.mdx
Normal file
11
www/apps/resources/app/troubleshooting/deployment/page.mdx
Normal 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 />
|
||||
Reference in New Issue
Block a user