#Error while migrate

2 messages · Page 1 of 1 (latest)

dapper topaz
#

I just started learning medusa, I first started to create npx create-medusa-app@latest my-store , filled up everything, but when it reaches

⠋ 🚀 Starting project setup, this may take a few minutes.
✔ Created project directory
✔ Installed Dependencies

I get this error :
An error occurred: Error: An error occurred while running migrations: Error: Loaders for module Payment failed.

is this normal ? and should i complete building modules. because all youtube videos I saw it start directly after creation ! or am I doing something wrong!

database connection is fine.

#

I even installed an example I got the same error

error: Could not resolve module: Payment. Error: Loaders for module Payment failed: select "p0".* from "public"."payment_provider" as "p0" where "p0"."deleted_at" is null and "p0"."id" in ('pp_system_default') order by "p0"."id" asc - relation "public.payment_provider" does not exist

error: Error running script
error: Loaders for module Payment failed: select "p0".* from "public"."payment_provider" as "p0" where "p0"."deleted_at" is null and "p0"."id" in ('pp_system_default') order by "p0"."id" asc - relation "public.payment_provider" does not exist