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

@smithy/middleware import breaks on target=denonext #1513

Open
TanishqSingla opened this issue Jan 27, 2025 · 0 comments
Open

@smithy/middleware import breaks on target=denonext #1513

TanishqSingla opened this issue Jan 27, 2025 · 0 comments

Comments

@TanishqSingla
Copy link

Description

Deno build breaks after 4.0.1. The deno target contains a line which causes import error hence preventing the build command to successfully complete.

Steps to produce

A simple sample js file when run with deno will throw this error

// sample file
import * as MiddlewareContentLength from 'https://esm.sh/@smithy/[email protected]?target=denonext'
Import 'https://esm.sh/@smithy/' failed.
    0: error sending request for url (https://esm.sh/@smithy/): client error (Connect): dns error: failed to lookup address information: Temporary failure in name resolution: failed to lookup address information: Tempor
ary failure in name resolution
    1: client error (Connect)
    2: dns error: failed to lookup address information: Temporary failure in name resolution
    3: failed to lookup address information: Temporary failure in name resolution
    at https://esm.sh/@smithy/[email protected]?target=denonext:3:8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant