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

Failed to import - #894

Open
singpolyma opened this issue Oct 18, 2024 · 0 comments
Open

Failed to import - #894

singpolyma opened this issue Oct 18, 2024 · 0 comments
Labels
deno Not working in Deno

Comments

@singpolyma
Copy link

Failing module

import * as snikket from "https://esm.sh/gh/snikket-im/snikket-sdk@d6227f74d6/npm";

Error message

After running deno run I got this:

Unable to create XMLHttpRequest object.

Additional info

It seems that even when imported into deno, the "browser" resolve mechanism is used to import the browser files instead of the node/deno files. So a non-working version gets imported.

@singpolyma singpolyma added the deno Not working in Deno label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deno Not working in Deno
Projects
None yet
Development

No branches or pull requests

1 participant