Víctor Miranda
Víctor Miranda
Explore posts from servers
CDCloudflare Developers
Created by Víctor Miranda on 1/24/2024 in #general-help
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”)
}
2 replies