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
Relabeling this as a feature request. We do not currently implement anything on import.meta.
jasnell
changed the title
🐛 BUG: (intermediate value).require is not a function / import.meta is not supported
🐛 Feature request: (intermediate value).require is not a function / import.meta is not supported
Oct 22, 2024
Which Cloudflare product(s) does this pertain to?
Workers Runtime
What version(s) of the tool(s) are you using?
3.17.1
What version of Node are you using?
No response
What operating system are you using?
Mac
Describe the Bug
[ERROR] service core:user:my-app: Uncaught TypeError: (intermediate value).require is not a function
The problem is that my code / the generated bundle uses:
And workerd provides an empty object for import.meta, thus import.meta.require is undefined and not a function.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: