Vite stuck transforming
pnpm nuxt build
gets stuck at the transforming stage after transforming a few files. It just will not progress and the output on the screen does no longer update. I am on nuxt 3.11.2. I have tried setting debug: true
in nuxt.config.ts but while it does print debug logs it prints nothing during the transforming phase so I am flying blind. Any help would be awesome.1 Reply
things i have tried:
* uninstalling deps
* shamefully-hoist
* yarn instead of pnpm
i am at a loss as to what else to try.
found it. i really love nuxt but this was frustrating. for some reason this import causes it to freeze (and HMR to freeze also). I assume it's bundling some heavy dep in that module even though it's a
type
import
but changing it to import { type AppRouter } from "~/server/api/trpc/[trpc]";
works