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
✔ Created admin user
⠋ Seeding database...
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.
warn: Link modules schema: No linkable key found for sales_channel_id on module sales_channel.
warn: Link modules schema: No linkable key found for sales_channel_id on module sales_channel.
warn: Link modules schema: No linkable key found for inventory_item_id on module inventory.
warn: Link modules schema: No linkable key found for inventory_item_id on module inventory.
warn: Link modules schema: No linkable key found for sales_channel_id on module sales_channel.
warn: Link modules schema: No linkable key found for sales_channel_id on module sales_channel.
warn: Link modules schema: No linkable key found for sales_channel_id on module sales_channel.
warn: Link modules schema: No linkable key found for sales_channel_id on module sales_channel.
info: No job to load from /Users/kimbo/work/clients/lobba/webdev/ploppy-local/ploppy/node_modules/@medusajs/medusa/dist/jobs. skipped.
info: Seeding store data...
info: Seeding region data...
info: Finished seeding regions.
info: Seeding tax regions...
info: Finished seeding tax regions.
info: Seeding stock location data...
info: Seeding fulfillment data...
error: Error running script
error: Service with alias "service_zone" was not found.
{
~errors stuff~
clients/lobba/webdev/ploppy-local/ploppy/node_modules/@medusajs/core-flows/dist/fulfillment/workflows/create-shipping-options.js: [create-shipping-options-workflow -> validate-fulfillment-providers-step (invoke)]'
}
✔ Seeded database with demo data
✔ Finished Preparation
✔ Project Prepared
Starting Medusa...
I ran "npm run dev" and backend admin pages related to this error/warning messages seem to crash related to it. I did also try changing my NODE_ENV to development to see if that has any affect and it does not.
Expected behavior
The db should have seeded data, eg. for products
I should be able to visit the following x3 pages (all other pages load fine) without the page crashing and saying "500 - Internal server error. An unexpected error occurred on the server. Please try again later." and the console saying "Error: Service with alias "sales_channels" was not found."
Seeded data doesnt seem to be available as I see no data in the database for products no in the admin dashboard
When visiting the following x3 pages (all other pages load fine) the page crashes and says "500 - Internal server error. An unexpected error occurred on the server. Please try again later." and the console says "Error: Service with alias "sales_channels" was not found."
Package.json file
Node.js version
v22.11.0
Database and its version
16.2
Operating system name and version
MacOS 12.7.6
Browser name
Chrome
What happended?
I tried a fresh install with this
npx create-medusa-app@latest --db-url {the-full-db-url-was-here} --with-nextjs-starter --verbose
and I noticed this during the install
I ran "npm run dev" and backend admin pages related to this error/warning messages seem to crash related to it. I did also try changing my NODE_ENV to development to see if that has any affect and it does not.
Expected behavior
Actual behavior
Link to reproduction repo
https://github.com/medusajs/medusa
The text was updated successfully, but these errors were encountered: