No loader is configured for ".wasm"

I'm getting this error doing the neondatabase connection with prisma in the Cloudflare Wrangler deploy
generator client {
provider = "prisma-client-js"
previewFeatures = ["driverAdapters"]
engineType = "wasm"
}

generator pothos {
provider = "prisma-pothos-types"
}

generator pothosCrud {
provider = "prisma-generator-pothos-codegen"
generatorConfigPath = "./pothos.config.js"
}

datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
// If you want to use Prisma Migrate, you will need to manually create a shadow database
// https://neon.tech/docs/guides/prisma-migrate#configure-a-shadow-database-for-prisma-migrate
// make sure to append ?connect_timeout=10 to the connection string
// shadowDatabaseUrl = env(“CONTENT_SHADOW_DATABASE_URL”)
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["driverAdapters"]
engineType = "wasm"
}

generator pothos {
provider = "prisma-pothos-types"
}

generator pothosCrud {
provider = "prisma-generator-pothos-codegen"
generatorConfigPath = "./pothos.config.js"
}

datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
// If you want to use Prisma Migrate, you will need to manually create a shadow database
// https://neon.tech/docs/guides/prisma-migrate#configure-a-shadow-database-for-prisma-migrate
// make sure to append ?connect_timeout=10 to the connection string
// shadowDatabaseUrl = env(“CONTENT_SHADOW_DATABASE_URL”)
}
1 Reply
Víctor Miranda
Víctor MirandaOP10mo ago
No loader is configured for ".wasm", I'm getting this error
Want results from more Discord servers?
Add your server