docs: improvements to railway deployment guide + new troubleshooting guide (#7012)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-04-15 09:30:31 +02:00
1 parent 47a175ce94
commit 793184bf42
6 files changed
+145 -136

No files matched your search

@@ -0,0 +1,17 @@
---
title: "Mime Error"
---
The following error can occur when running the `build` command either locally or in an deployed Medusa backend:
```
Cannot find type definition file for 'mime'
```
This error typically occurs when using yarn v1 in an older Medusa setup.
To resolve the error, install v1.3.5 of `@types/mime` as a development dependency in your Medusa backend:
```bash npm2yarn
npm install @types/mime@1.3.5 --save-dev
```