-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
On compiling the typescript alerts an error on some modules on smithy dependency.
% tsc --noEmit
node_modules/@aws-sdk/client-cloudfront/node_modules/@smithy/core/protocols.d.ts:6:3 - error TS2308: Module "@smithy/core/dist-types/submodules/protocols/index.d" has already exported a member named 'RequestBuilder'. Consider explicitly re-exporting to resolve the ambiguity.
6 export * from "@smithy/core/dist-types/submodules/protocols/index.d";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@aws-sdk/client-cloudfront/node_modules/@smithy/core/protocols.d.ts:6:3 - error TS2308: Module "@smithy/core/dist-types/submodules/protocols/index.d" has already exported a member named 'collectBody'. Consider explicitly re-exporting to resolve the ambiguity.
6 export * from "@smithy/core/dist-types/submodules/protocols/index.d";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@aws-sdk/client-cloudfront/node_modules/@smithy/core/protocols.d.ts:6:3 - error TS2308: Module "@smithy/core/dist-types/submodules/protocols/index.d" has already exported a member named 'extendedEncodeURIComponent'. Consider explicitly re-exporting to resolve the ambiguity.
6 export * from "@smithy/core/dist-types/submodules/protocols/index.d";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@aws-sdk/client-cloudfront/node_modules/@smithy/core/protocols.d.ts:6:3 - error TS2308: Module "@smithy/core/dist-types/submodules/protocols/index.d" has already exported a member named 'requestBuilder'. Consider explicitly re-exporting to resolve the ambiguity.
6 export * from "@smithy/core/dist-types/submodules/protocols/index.d";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@aws-sdk/client-cloudfront/node_modules/@smithy/core/protocols.d.ts:6:3 - error TS2308: Module "@smithy/core/dist-types/submodules/protocols/index.d" has already exported a member named 'resolvedPath'. Consider explicitly re-exporting to resolve the ambiguity.
6 export * from "@smithy/core/dist-types/submodules/protocols/index.d";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 5 errors in the same file, starting at: node_modules/@aws-sdk/client-cloudfront/node_modules/@smithy/core/protocols.d.ts:6
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/[email protected],
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
node=v20.16.0
Reproduction Steps
I've already used some aws-sdk packages in my project, but from now on, try to use the @aws-sdk/[email protected]
to compile breaks.
"dependencies": {
"@aws-sdk/client-cloudfront": "^3.699.0",
"@aws-sdk/client-cognito-identity-provider": "^3.441.0",
"@aws-sdk/client-s3": "^3.481.0",
"@aws-sdk/client-ses": "^3.441.0",
"@aws-sdk/s3-presigned-post": "^3.485.0",
"@aws-sdk/s3-request-presigner": "^3.682.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
Observed Behavior
Found 5 errors in the same file, starting at: node_modules/@aws-sdk/client-cloudfront/node_modules/@smithy/core/protocols.d.ts:6
Expected Behavior
No compile error.
Possible Solution
No response
Additional Information/Context
No response
purnasrivatsa96, imphatic, seek-nfung, polkhovsky-norc and petercunha
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue