-
Notifications
You must be signed in to change notification settings - Fork 584
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
Dynamo DB client issue after 3.656.0 release #6502
Comments
I see the same problem after upgrading to latest AWS SDK. When running
But if I change that setting in tsconfig.json, I break a bunch of other existing stuff. My settings in tsconfig.json are "module": "commonjs" and no setting for "moduleResolution". |
I recommend updating your moduleResolution Node16 because you're running Node.js 18, but a one potential workaround is to add this to a // file.d.ts
declare module "@aws-sdk/core/account-id-endpoint" {
export * from "@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d";
} We will explore adding this on our side as well. |
In my case, setting tsconfig.json |
try today's version? https://www.npmjs.com/package/@aws-sdk/client-dynamodb/v/3.658.0 |
This issue has been fixed with the version 3.658.0 |
Verified the above version 3.658.0 |
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. |
Checkboxes for prior research
Describe the bug
While converting the Typescript file to a javascript file, we encounter an issue. Module not found
Regression Issue
SDK version number
3.656.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
18
Reproduction Steps
Converting the file from Typescript to java script for the files containing Dynamo Db dependency.
Observed Behavior
node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts(1,39): error TS7016: Could not find a declaration file for module '@aws-sdk/core/account-id-endpoint'.
Expected Behavior
Successfully create a dynamo DB client to establish the connection, while compiling typescript.
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: