Files
medusa-store/docs/content/advanced/backend/upgrade-guides/1-3-8.md
Shahed Nasser 6adaf56c73 docs: integrate Vale for documentation linting (#2242)
* added value rules

* resolved errors raised by vale

* added github action

* fixes to github action

* added details in contribution guidelines

* added rule for numbers

* limited checks to errors
2022-09-22 13:12:09 +03:00

1.1 KiB
Raw Blame History

v1.3.8

Updating your medusa server to version 1.3.8 may cause issues when using NPM. Please refer to this guide for more details on how to resolve it.

Update Using Yarn

It's highly recommended to use yarn when working with Medusa. Updating with yarn should resolve any issues you might run into during the update.

Resolving Update Issues with NPM

Update All Medusa Dependencies

If you face any errors during your update to version 1.3.8, make sure to update all Medusa dependencies youre using on your server. This includes medusa-interfaces, @medusajs/medusa-cli, or any of Medusas official plugins.

You can update to the latest version of these using the @latest version tag. For example:

npm install medusa-interfaces@latest

Use Legacy Peer Dependencies Option

:::caution

This solution can be used as a workaround and should be used with caution to avoid any issues while using Medusa.

:::

If all fails, you can use the --legacy-peer-deps option while updating Medusa:

npm install @medusajs/medusa@latest --legacy-peer-deps