-
Notifications
You must be signed in to change notification settings - Fork 50
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
[wrangler dev] Can't resolve node:async_hooks
#273
Comments
I’m having the same problem when running
In my project, I am only using Supabase, NuxtUI, NuxtHub and Pinia. And I have enabled
|
node:async_hooks
@adamkasper this is not related to the main issue, see #261 (comment) (should be fixed in upcoming Nuxt release) |
Let me have a look @remihuigen |
Why do you need to run the |
Sorry, I wasn't clear. Got this error in local dev, not in production Was debugging as described on https://hub.nuxt.com/docs/recipes/debug |
To confirm: I'm not getting the error in production |
I see, well the debugging is not perfect yes as I don't provide the |
Sure, no problem. Didn't get these errors though when following https://hub.nuxt.com/docs/recipes/debug with v0.7.9, so i'd thought a new issue was in order :) |
The issue here is that the preview should be running in For local workers you get this warning first while compiling, and then on runtime you get the above error:
Faced the same issue yesterday while trying to preview the build locally. Not sure how to enable the compat mode locally. Note: This issue started with v0.7.12 (Async Local Storage release) |
Describe the bug
Running nuxt build with cloudflare-pages preset, and
npx wrangler pages dev dist/
results inIntroduced somewhere after 0.7.9
The text was updated successfully, but these errors were encountered: