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 - [email protected] #591

Closed
anthonyra opened this issue Apr 13, 2023 · 0 comments
Closed

Failed to import - [email protected] #591

anthonyra opened this issue Apr 13, 2023 · 0 comments
Labels
deno Not working in Deno

Comments

@anthonyra
Copy link

anthonyra commented Apr 13, 2023

Failing module

import metascraper from "https://esm.sh/metascraper"

Which actually fails on importing a dependency url-regex-safe which is dependent on re2 I believe it's the re2 part that is causing it to fail AFAICT. So the final chain would be metascraper > @metascraper/helpers > url-regex-safe > re2

"@metascraper/helpers": "https://esm.sh/v115/@metascraper/[email protected]"

Error message

After running deno run I got this:

error: Import 'https://esm.sh/v115/[email protected]/deno/re2.mjs' failed: 500 Internal Server Error
    at https://esm.sh/v115/[email protected]/deno/url-regex-safe.mjs:2:114

Additional info

  • esm.sh version: v115
  • Deno version: deno 1.32.4 (release, aarch64-apple-darwin)

uhop/node-re2#92 (comment) appears to be related since esm.sh uses ESBuild under the hood.

@anthonyra anthonyra added the deno Not working in Deno label Apr 13, 2023
@anthonyra anthonyra changed the title Failed to import - https://esm.sh/v115/[email protected]/deno/url-regex-safe.mjs Failed to import - [email protected] Apr 13, 2023
@ije ije closed this as completed in e8cf7d8 Apr 17, 2023
ije added a commit that referenced this issue Apr 17, 2023
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