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

Ipaddr does not provide an export named 'default #137

Closed
MrGapa opened this issue Aug 8, 2021 · 2 comments · Fixed by #138
Closed

Ipaddr does not provide an export named 'default #137

MrGapa opened this issue Aug 8, 2021 · 2 comments · Fixed by #138
Assignees
Labels
bug Something isn't working

Comments

@MrGapa
Copy link

MrGapa commented Aug 8, 2021

Issue

Setup:

  • Deno Version: 1.12.2
  • v8 Version: 9.2.230.14
  • Typescript Version: 4.3.5
  • Opine Version: 1.7.0

Details

error: Uncaught SyntaxError: The requested module 'https://esm.sh/[email protected]' does not provide an export named 'default'
export { default as ipaddr } from "https://esm.sh/[email protected]";
~~~~~~~~~~~~~~~~~
at (https://deno.land/x/[email protected]/deps.ts:54:10).

@cmorten
Copy link
Owner

cmorten commented Aug 8, 2021

Hmm, can’t reproduce with that error, but am seeing 408 timeouts when try to access that asset via esm.sh - wonder if the CDN is having issues 🤔

@cmorten cmorten added the bug Something isn't working label Aug 8, 2021
@cmorten cmorten self-assigned this Aug 8, 2021
@cmorten
Copy link
Owner

cmorten commented Aug 8, 2021

Have reproduced reliably now - curious as nothing has changed from Opine's side - indeed CI passed for this version, importing this dep etc.

From what understand esm.sh maps to a mutable cdn.esm.sh/v* like url, and suspect that a version has revved and introduced a regression. It doesn't appear that you can fix the version of esm.sh that you use as it just bounces you, so we are suspectible to breaking changes. Going to give migrating to skypack a go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants