-
Notifications
You must be signed in to change notification settings - Fork 128
Description
while running
yarn medusa db:create && yarn medusa db:migrate && yarn run seed
getting the follwoing error
info: Migration scripts completed
Done in 23.73s.
yarn run v1.22.21
$ medusa exec ./src/scripts/seed.ts
info: Executing script at ./src/scripts/seed.ts...
redisUrl not found. A fake redis instance will be used.
warn: Local Event Bus installed. This is not recommended for production.
info: Locking module: Using "in-memory" as default.
info: No job to load from C:\Users\shahi\Desktop\centresouq\mercur\node_modules@medusajs\medusa\dist\jobs. skipped.
info: === Configurations ===
info: Creating default sales channel...
info: Creating default regions...
info: Creating publishable api key...
info: Creating store data...
info: Creating configuration rules...
error: Error running script
error: Could not resolve 'configurationModuleService'.
Resolution path: configurationModuleService
AwilixResolutionError: Could not resolve 'configurationModuleService'.
Resolution path: configurationModuleService
at Object.resolve (C:\Users\shahi\Desktop\centresouq\mercur\node_modules\awilix\src\container.ts:497:15)
at createConfigurationRules (C:\Users\shahi\Desktop\centresouq\mercur\apps\backend\src\scripts\seed\seed-functions.ts:506:42)
at seedMarketplaceData (C:\Users\shahi\Desktop\centresouq\mercur\apps\backend\src\scripts\seed.ts:34:33)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at async exec (C:\Users\shahi\Desktop\centresouq\mercur\node_modules@medusajs\medusa\src\commands\exec.ts:45:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.