Closed olawale-o closed 5 days ago
I had the same problem. After a series of trials and errors, I found the reason to be NODE_ENV
. Since a few updates back, we were able to set it as production
and I had kept it that way. However, since some of the recent updates, including the latest 2.0.0 and 2.0.1, NODE_ENV=production
doesn't work anymore.
The server starts successfully only when NODE_ENV
is set to development
.
I could be wrong though, but this is how I was able to get mine to start.
Hi @Mohmdev
It is not working. Thank you for the response. I also have an issue of starting the server with sudo yarn dev
. command I wouldnt know if that is the standard. However, this is my first time of working with medusa.
Same problem here, server on deplyoment only start when node_env is set to development, when set to production in worker mode server this error appear.
Hi @olawale-o can you please upgrade to the latest version and see if this is still an issue?
Closing as there hasn't been any response to it.
Bug report
Describe the bug
Could not resolve module: Workflows. Error: Loaders for module Workflows failed: Invalid URL
System information
Medusa version (including plugins): Node.js version: v20.17.0 Database: postgresSQL Operating system: MacOs BigSur Browser (if relevant):
Steps to reproduce the behavior