Skip to content

Version 3.13.1 breaks through Skypack #2307

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

Closed
wperron opened this issue Apr 27, 2021 · 5 comments
Closed

Version 3.13.1 breaks through Skypack #2307

wperron opened this issue Apr 27, 2021 · 5 comments
Assignees
Labels
bug This issue is a bug. closed-for-staleness

Comments

@wperron
Copy link

wperron commented Apr 27, 2021

Describe the bug

Trying to import version 3.13.3 through Skypack for Deno breaks in the build phase. Version 3.13.0 works just fine.

Your environment

SDK version number

@aws-sdk/[email protected]

Is the issue in the browser/Node.js/ReactNative?

Deno/Browser

Details of the browser/Node.js/ReactNative version

deno 1.9.2 (release, x86_64-unknown-linux-gnu)
v8 9.1.269.5
typescript 4.2.2

*Though the issue happens in the Skypack server, so the Deno/Nodejs version has no effect.

Steps to reproduce

// deno run this.ts
import {                                                                        
  DynamoDBClient,                                                               
  PutItemCommand,                                                               
} from "https://cdn.skypack.dev/@aws-sdk/[email protected]?dts";

const dynamodb = new DynamoDBClient({                                         
  region: "us-east-1",                                                        
  credentials: {                                                              
    accessKeyId: "AKIAEXAMPLE",                                    
    secretAccessKey: "abcd1234example",                            
  },                                                                          
});

Observed behavior

Here's the error message I get from the Skypack server:

[Package Error] "@aws-sdk/[email protected]" could not be built. (Imported by "@aws-sdk/client-dynamodb").
[1/5] Verifying package is valid…
[2/5] Installing dependencies from npm…
No matching version found for @aws-sdk/[email protected].
error: Uncaught Error: [Package Error] "@aws-sdk/[email protected]" could not be built. (Imported by "@aws-sdk/client-dynamodb").
throw new Error("[Package Error] \"@aws-sdk/[email protected]\" could not be built. (Imported by \"@aws-sdk/client-dynamodb\").");
      ^
    at https://cdn.skypack.dev/error/build:@aws-sdk/[email protected]?from=@aws-sdk/client-dynamodb:15:7

Expected behavior

Version 3.13.0 worked without any issues

@wperron wperron added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Apr 27, 2021
@ajredniwja ajredniwja self-assigned this Apr 29, 2021
@ajredniwja
Copy link
Contributor

ajredniwja commented May 11, 2021

Hi @wperron, thanks for opening this issue, looking at change log the only change from 3.13.0 to 3.13.1 was this pull request. So I doubt the SDK is causing this issue.

Note: I am aware it might not be relevant for this issue but I wanted to out that out that Deno is not supported by AWS SDK for Javascript V3. See #1289

@ajredniwja ajredniwja added response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. and removed needs-triage This issue or PR still needs to be triaged. labels May 11, 2021
@github-actions
Copy link

This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label May 19, 2021
@wperron
Copy link
Author

wperron commented May 19, 2021

I also tested with the latest release and it's still present

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. labels May 20, 2021
@github-actions
Copy link

Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels May 21, 2022
@github-actions
Copy link

github-actions bot commented Jun 9, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue is a bug. closed-for-staleness
Projects
None yet
Development

No branches or pull requests

2 participants