diff --git a/www/apps/resources/app/troubleshooting/pnpm-errors/page.mdx b/www/apps/resources/app/troubleshooting/pnpm-errors/page.mdx new file mode 100644 index 0000000000..f06d5145e2 --- /dev/null +++ b/www/apps/resources/app/troubleshooting/pnpm-errors/page.mdx @@ -0,0 +1,11 @@ +export const metadata = { + title: `pnpm Errors`, +} + +# {metadata.title} + +If you're using `pnpm` and you face errors in your Medusa application, such as `Failed with error The "path" argument must be of type string. Received undefined`, add the file `.npmrc` in the root of your Medusa project directory with the following content: + +```bash +node-linker=hoisted +``` diff --git a/www/apps/resources/sidebar.mjs b/www/apps/resources/sidebar.mjs index a9fbb0da85..a50f58dade 100644 --- a/www/apps/resources/sidebar.mjs +++ b/www/apps/resources/sidebar.mjs @@ -1739,6 +1739,10 @@ export const sidebar = sidebarAttachHrefCommonOptions([ path: "/troubleshooting/errors-installing-cli", title: "Errors Installing CLI", }, + { + path: "/troubleshooting/pnpm-errors", + title: "pnpm Errors", + }, { path: "/troubleshooting/general-errors", title: "General Errors",