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
I installed medusa as stated in the documentation, when I try to run it with the “npm run dev” command I get errors and can't proceed. I deleted the “node_modules” folder and reinstalled it, but the problem persists.
Error on first installation; An error occurred while preparing project: Error: Command failed: npx medusa user -e [email protected] --invite Error: Loaders for module Region failed: Could not resolve 'countryService'.
Error with “npm run dev” command; Invalid or unexpected token: at Object.require.extensions.<computed> [as .js] (/**/**/**/medusa-backend/node_modules/ts-node/src/index.ts:1608:43) error: Could not resolve module: Region. Error: Loaders for module Region failed: Could not resolve 'countryService'.
Package.json file
Node.js version
v22.12.0
Database and its version
PostgreSQL 17.0
Operating system name and version
MacOS Sequoia
Browser name
Chrome
What happended?
I installed medusa as stated in the documentation, when I try to run it with the “npm run dev” command I get errors and can't proceed. I deleted the “node_modules” folder and reinstalled it, but the problem persists.
Error on first installation;
An error occurred while preparing project: Error: Command failed: npx medusa user -e [email protected] --invite Error: Loaders for module Region failed: Could not resolve 'countryService'.
Error with “npm run dev” command;
Invalid or unexpected token: at Object.require.extensions.<computed> [as .js] (/**/**/**/medusa-backend/node_modules/ts-node/src/index.ts:1608:43)
error: Could not resolve module: Region. Error: Loaders for module Region failed: Could not resolve 'countryService'.
Expected behavior
It should work with the “npm run dev” command.
Actual behavior
.
Link to reproduction repo
https://github.com/aydinvivik/medusa-backend.git
The text was updated successfully, but these errors were encountered: