WeakRef
not supported in workerd
#3053
Labels
feature request
Request for Workers team to add a feature
WeakRef
not supported in workerd
#3053
Which Cloudflare product(s) does this pertain to?
Workers Runtime, Wrangler
What version(s) of the tool(s) are you using?
3.84.1 [Wrangler]
What version of Node are you using?
20
What operating system and version are you using?
Mac Sequoia
Describe the Bug
It should build and deploy to CloudFlare but it keeps erring saying WeakRef is not supported.
But WeakRef is being used by discord.js dependency in node_modules so there isn't anything I can do.
What's a work around?
package.json
wrangler.toml
Please provide a link to a minimal reproduction
https://github.com/marzcreatives/tqiHelperBot
Please provide any relevant error logs
⛅️ wrangler 3.84.1
[wrangler:inf] Ready on http://localhost:8787
⎔ Starting local server...
✘ [ERROR] service core:user:tqihelperbot: Uncaught ReferenceError: WeakRef is not defined
✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above.
The text was updated successfully, but these errors were encountered: