-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initialization errors in nuxt 3.0.0 dev mode #85
Comments
Looks like the same underlying issue as nuxt-modules/html-validator#232 - you can try using WSL as a workaround until this is resolved. |
Thanks for looking into it. It certainly looks like the same nuxt/nuxt#15249 related issue. |
Would you try with the edge channel to see if this is resolved? https://nuxt.com/docs/guide/going-further/edge-channel/ |
Edge channel does not fix the issue. |
Would you mind trying again with the latest version of this module, @PawelDmochowski? π |
Any combination newer than Nuxt 3.1.0 and module version 0.1.2 seems to be working correctly. π |
Great! If the issue reappears, this can be reopened! :) |
π The bug
Receiving this error when running in dev mode in a minimal setup (see reproduction - everything is copied directly from provided playground).
The result is dev server not starting.
π οΈ To reproduce
https://github.com/PawelDmochowski/nuxt-turnstile-dev-error.git
π Expected behaviour
Dev server should start.
βΉοΈ Additional context
Simple commenting out the line with verifyTurnstileToken makes the server start.
Also if I copy contents of
src/runtime/nitro/utils/verify.ts
directly into api endpoint inserver/api/submit.ts
everything works fine.The text was updated successfully, but these errors were encountered: