Skip to content
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

"EventTarget is not defined" on node 14 #12

Closed
cinnamon-bun opened this issue Feb 5, 2022 · 0 comments
Closed

"EventTarget is not defined" on node 14 #12

cinnamon-bun opened this issue Feb 5, 2022 · 0 comments

Comments

@cinnamon-bun
Copy link
Member

What's the problem you want solved?

npm test fails on node 14:

ReferenceError: EventTarget is not defined
    at Object.<anonymous> (/Users/me/projects/earthstar-streaming-rpc/npm/node_modules/@deno/shim-deno/dist/deno/stable/classes/PermissionStatus.js:7:32)

This is coming from denoland/node_deno_shims also known as @deno/shim-deno, used by dnt.

This was fixed already in deno shims but the fix has not been released, it came a few days after the latest release of 0.1.2.

Is there a solution you'd like to recommend?

We need to encourage shim-deno to make a new npm release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants