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
mizchi
changed the title
[BUG] Can not import .wasm (by @prisma/client)
[BUG] Can not import .wasm (by @prisma/client/wasm)
Nov 21, 2024
mizchi
changed the title
[BUG] Can not import .wasm (by @prisma/client/wasm)
[BUG] Can not import .wasm (by @prisma/client/wasm, and other wasm-pack generated)
Nov 21, 2024
Describe the bug
Opennext and
@prisma/client/wasm
do not work by import*.wasm
.Prisma does not work on opennext.
Vite and webpack can handle it but wrangler's esbuild & workerd can not
Steps to reproduce
@prisma/client/wasm
npx wrangler deploy
Expected behavior
@prisma/client
works on opennext.@opennextjs/cloudflare version
0.2.1
Node.js version
22.x
Wrangler version
3.88.0
next info output
Operating System: Platform: linux Arch: x64 Version: #1 SMP Tue Nov 5 00:21:55 UTC 2024 Available memory (MB): 64163 Available CPU cores: 16 Binaries: Node: 22.9.0 npm: 10.8.3 Yarn: N/A pnpm: 9.9.0 Relevant Packages: next: 15.0.3 // Latest available version is detected (15.0.3). eslint-config-next: 15.0.3 react: 18.3.1 react-dom: 18.3.1 typescript: 5.6.3 Next.js Config: output: N/A
The text was updated successfully, but these errors were encountered: