#Medusa incorrectly importing a plugin, causing it to be not resolved

6 messages · Page 1 of 1 (latest)

formal merlin
#

I am trying to get the analytics plugin to work: https://github.com/RSC-Labs/medusa-store-analytics/tree/main/v2

I have installed it and added it to the plugins in medusa config, however medusa fails to stat, because the import inside .medusa/client/entry.jsx is wrong, its using the wrong slashes:

If I manually fix the slashes while running dev, it works fine, but obviously I can't deploy it

quasi carbon
#

hi @formal merlin - could you please paste your package.json and medsua-config? (I am the author of hte plugin)

formal merlin
#

@quasi carbon im not at the pc right now, but what i did is

yarn add @rsc-labs/.....-v2

Then aded it in medusa config and thats all i did

#

I dont have other plugins

#

Also this is on windows

quasi carbon
#

@formal merlin - please anyway provides package.json and medusa-config.js (you can reach me privately)