You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was wondering if it's possible to use pnpm with the current medusajs v2 preview? I am trying to create a pnpm monorepo using medusajs as the backend but when I run pnpm -r run dev from the root of my directory it's giving me an error on the backend:
error: Could not resolve module: cartCartPaymentPaymentCollectionLink.
Error: Loaders for module cartCartPaymentPaymentCollectionLink failed: Cannot read properties of undefined (reading 'className')
I am also getting the same error if I try to run just the backend from within its directory using pnpm dev. Assuming this issue is an issue because of the way pnpm hoists packages but I am brand new to pnpm and monorepos so I figured there was no harm in asking for some help. Thanks in advance!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Was wondering if it's possible to use pnpm with the current medusajs v2 preview? I am trying to create a pnpm monorepo using medusajs as the backend but when I run
pnpm -r run dev
from the root of my directory it's giving me an error on the backend:I am also getting the same error if I try to run just the backend from within its directory using
pnpm dev
. Assuming this issue is an issue because of the way pnpm hoists packages but I am brand new to pnpm and monorepos so I figured there was no harm in asking for some help. Thanks in advance!Beta Was this translation helpful? Give feedback.
All reactions