Skip to content

Cannot find module prisma/generated/internal/query_compiler_bg.js imported from .nuxt/dev/index.mjs #32990

@ineshbose

Description

@ineshbose

Environment

  • Node Version: v22.11.0
  • Nuxt Version: 4.0.3
  • CLI Version: 3.28.0
  • Nitro Version: 2.12.4
  • Package Manager: pnpm
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://github.com/ineshbose/prisma-nuxt-qc-wasm-bug

Run: pnpm prisma generate && pnpm prisma db push first, then pnpm dev

Describe the bug

So the new Prisma generator/compiler will have an import for the runtime in prisma/generated/internal/class.ts, but it gets resolved very differently in .nuxt/dev/index.mjs 🤔

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions