From 76173afdfcba798fa1698852728bf6212bdaa439 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Thu, 18 Jul 2024 09:57:11 +0300 Subject: [PATCH] docs: add update dependencies + release note details (#8159) --- .../resources/app/troubleshooting/page.mdx | 20 +++++++++++++++++++ .../resources/app/upgrade-guides/page.mdx | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/www/apps/resources/app/troubleshooting/page.mdx b/www/apps/resources/app/troubleshooting/page.mdx index b76fd2ac40..51500ec43c 100644 --- a/www/apps/resources/app/troubleshooting/page.mdx +++ b/www/apps/resources/app/troubleshooting/page.mdx @@ -6,4 +6,24 @@ export const metadata = { # {metadata.title} +## Update Medusa Version + +While Medusa v2 is still in active development, a version is released every three hours under the `preview` tag. + +If you run into issues during your development, try first to remove the `node_modules` directory and `yarn.lock` file (or `package-lock.json`) and re-install the dependencies: + +```bash +rm -rf node_modules +rm yarn.lock # or package-lock.json +yarn install # or npm install +``` + +This updates the Medusa v2 dependencies to the latest `preview` version, which may have resolved your issue. + +If your issue still persists, check out the troubleshooting guides below or [create a GitHub issue](https://github.com/medusajs/medusa/issues/new?assignees=&labels=status:+needs+triaging,+version:+2.0&projects=&template=bug_report_v2.md&title=). + +--- + +## Guides + \ No newline at end of file diff --git a/www/apps/resources/app/upgrade-guides/page.mdx b/www/apps/resources/app/upgrade-guides/page.mdx index 2c037d4c79..9e3c36fac7 100644 --- a/www/apps/resources/app/upgrade-guides/page.mdx +++ b/www/apps/resources/app/upgrade-guides/page.mdx @@ -6,6 +6,6 @@ export const metadata = { -Upgrade guides are coming soon for Medusa v2. +Upgrade guides are coming soon for Medusa v2. In the meantime, check out the [release notes on GitHub](https://github.com/medusajs/medusa/releases) to stay updated with latest changes.