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 08:33:24 +00:00
committed by GitHub
parent bb4c58d526
commit 810debc7bb
18 changed files with 118 additions and 1 deletions
@@ -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.