You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's also a dependency on https://www.npmjs.com/package/snappy and it's a hard no-go for Workers runtime, because it's written in Rust and is published as NAPI node extension.
Question: is making this package compatible with workers (or extracting its subset which might at some point become) is considered "in scope"?
The text was updated successfully, but these errors were encountered:
Hi,
This is not necessarily a "bug", but that's the only issue template available.
I tried combining this package with https://docs.astro.build/en/guides/integrations-guide/cloudflare/ but with no success. It, and its dependencies don't follow the requirement to
have all node internals' specifiers prefixed with
node:
.Here's a list of those that might be prefixed and may get this closer to working in workers environment:
assert
path
crypto
util
buffer
stream
But I also see those:
fs
fs/promises
os
and those don't have support in Cloudflare (see https://developers.cloudflare.com/workers/runtime-apis/nodejs#nodejs-api-polyfills)
There's also a dependency on https://www.npmjs.com/package/snappy and it's a hard no-go for Workers runtime, because it's written in Rust and is published as NAPI node extension.
Question: is making this package compatible with workers (or extracting its subset which might at some point become) is considered "in scope"?
The text was updated successfully, but these errors were encountered: