hanko icon indicating copy to clipboard operation
hanko copied to clipboard

Middleware auto-imports broken by nuxt@^3.10.3

Open birdlavv opened this issue 5 months ago • 2 comments

v3.10.3 Reproduction: https://stackblitz.com/edit/github-6euwfp-nijjwv?file=package.json,pages%2Findex.vue,nuxt.config.ts

Error message [vite-node] [ERR_LOAD_URL] virtual:nuxt:#build/hanko-elements

Downgrading to v3.10.2 fixes the issue. https://stackblitz.com/edit/github-6euwfp?file=package.json,pages%2Findex.vue,nuxt.config.ts

The issue appears with the latest [email protected] release

birdlavv avatar Mar 22 '24 12:03 birdlavv

Same issue for me.

Adding ssr: false to nuxt.config.ts functions as a workaround (though obviously I'd like to avoid that)

felix-dolderer avatar Mar 27 '24 10:03 felix-dolderer

It appears to only affect the development server. I'm able to build the project for production and sign in without issue.

birdlavv avatar Apr 08 '24 21:04 birdlavv