docs: used the NPX CLI tool across docs (#4099)

This commit is contained in:
Shahed Nasser
2023-05-15 11:04:14 +03:00
committed by GitHub
parent 23a0c5b71e
commit 7da6cc961e
57 changed files with 74 additions and 68 deletions
@@ -5,7 +5,7 @@ If you run into errors after updating Medusa and its dependencies, it's highly r
If there's no upgrade guide for your version, make sure that you ran the `migrations` command in the root directory of your Medusa backend:
```bash
medusa migrations run
npx @medusajs/medusa-cli migrations run
```
This ensures your backend has the latest database structure required. Then, try running your Medusa backend again and check whether the same error occurs.