Errors After Upgrading

If you run into errors after updating Medusa and its dependencies, it's highly recommended to check the Upgrade Guides if there is a specific guide for your version. These guides include steps required to perform after upgrading Medusa.

If there's no upgrade guide for your version, make sure that you ran the db:migrate command in the root directory of your Medusa application:

Terminal
npx medusa db:migrate

This ensures your application has the latest database structure required. Then, try running your Medusa application again and check whether the same error occurs.

Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break