-
Notifications
You must be signed in to change notification settings - Fork 18
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
[BUG] Error: [unenv] Readable.asyncIterator is not implemented yet! #147
Comments
@martcarrefour could you please link to a repro on github, it would help speed up the investigation. |
I created a repro at https://github.com/vicb/test-next-server-action I have validated a fix (in the |
@martcarrefour thanks for reporting that issue. It help fix a couple things
This issue should auto-close when the unenv is merged into wrangler - it might take a few more days for wrangler to be released (you can test with the wrangler pre-release on the PR and updating the experimental branch) |
@vicb Thank you so much for the quick resolution of the issue! Apologies for not providing the repository right away – I rarely create GitHub issues and am not very experienced with the process. |
no problem, what matters in the end is that the issue is getting fixed. |
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
Describe the bug
When calling a server action from a client component in a Next.js application, the following error occurs during runtime(cloudflare logs)
Steps to reproduce
Create a server action file (testFN.ts):
Use it in a client component:
Expected behavior
The server action should execute successfully, and the console.log message should appear in the server logs.
@opennextjs/cloudflare version
experimental
Node.js version
22.11.0
Wrangler version
3.87.0
next info output
Additional context
No response
The text was updated successfully, but these errors were encountered: