[🐛 Bug]: Not all workers-compatible nodejs api is fully supported #249
Labels
bug
Something isn't working
in progress
This issue is currently being worked on and show be solved soon.
Description
Not all nodejs API supported by the workers runtime (docs) is correctly supported, of the compatibility list:
I think that we only support
AsyncLocalStorage
andBuffer
but not the rest.Support should be added since we already require the
nodejs_compat
flag to be specified so we should actually make sure that we support all the APIs provided by the flag.Reproduction
For example see the
api/hello
route of this app: simple-pages-dir-13.4.2.It generated an internal server error because of the use of
node:events
:(Note that EventEmitters are workers-compatible as indicated above)
The text was updated successfully, but these errors were encountered: