-
Notifications
You must be signed in to change notification settings - Fork 594
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
S3 type incompatibilities in 3.726.0/3.726.1 generate TS2345 & TS2308 errors #6796
Comments
Hi @KeithGillette - thanks for reaching out. I'm not able to reproduce this error on my end. This type of error is most likely due to packages/dependencies installed being on different versions. Could you double check to verify that |
Thanks for testing, @aBurmeseDev. There is no 3.726.1 release of "dependencies": {
"@accounts/apollo-link": "0.32.1",
"@accounts/client": "0.33.1",
"@accounts/graphql-api": "0.33.2",
"@accounts/graphql-client": "0.33.1",
"@accounts/magic-link": "0.1.1",
"@accounts/mongo": "0.34.1",
"@accounts/mongo-password": "0.33.0",
"@accounts/password": "0.32.2",
"@accounts/server": "0.33.1",
"@angular/animations": "19.0.6",
"@angular/cdk": "19.0.5",
"@angular/common": "19.0.6",
"@angular/compiler": "19.0.6",
"@angular/core": "19.0.6",
"@angular/forms": "19.0.6",
"@angular/platform-browser": "19.0.6",
"@angular/platform-browser-dynamic": "19.0.6",
"@angular/router": "19.0.6",
"@angular/service-worker": "19.0.6",
"@apollo/client": "3.12.5",
"@apollo/server": "4.11.3",
"@aws-crypto/sha256-browser": "5.2.0",
"@aws-sdk/client-bedrock-runtime": "3.726.1",
"@aws-sdk/client-s3": "3.726.1",
"@aws-sdk/s3-request-presigner": "3.726.1",
"@aws-sdk/util-create-request": "3.723.0",
"@aws-sdk/util-format-url": "3.723.0",
"@bugsplat/angular-tree-component": "18.0.0",
"@danielmoncada/angular-datetime-picker": "19.0.0",
"@graphql-modules/core": "0.7.17",
"@graphql-tools/graphql-file-loader": "8.0.11",
"@graphql-tools/load": "8.0.12",
"@graphql-tools/schema": "10.0.16",
"@graphql-tools/utils": "10.7.2",
"@hokify/agenda": "6.3.0",
"@ng-web-apis/common": "4.11.1",
"@ngneat/helipopper": "9.2.1",
"@ngneat/until-destroy": "10.0.0",
"@node-oauth/oauth2-server": "5.2.0",
"@nx/angular": "20.3.1",
"@stripe/stripe-js": "5.5.0",
"@typegoose/typegoose": "12.10.1",
"angular-shepherd": "18.0.2",
"angular-split": "18.0.0",
"apollo-angular": "8.0.0",
"axios": "1.7.9",
"backoff-rxjs": "7.0.0",
"body-parser": "1.20.3",
"bootstrap": "5.3.3",
"bson-objectid": "2.0.4",
"chart.js": "4.4.7",
"class-validator": "0.14.1",
"core-js": "3.40.0",
"cors": "2.8.5",
"date-fns": "4.1.0",
"express": "4.21.2",
"file-saver": "2.0.5",
"font-awesome": "4.7.0",
"graphql": "16.10.0",
"graphql-subscriptions": "3.0.0",
"graphql-ws": "5.16.2",
"highlight.js": "11.11.1",
"injection-js": "2.4.0",
"jszip": "3.10.1",
"lodash": "4.17.21",
"lodash-es": "4.17.21",
"lodash-unified": "1.0.3",
"metascraper": "5.46.1",
"metascraper-audio": "5.46.1",
"metascraper-author": "5.46.1",
"metascraper-description": "5.46.1",
"metascraper-image": "5.46.1",
"metascraper-title": "5.46.1",
"metascraper-video": "5.46.1",
"mobile-drag-drop": "3.0.0-rc.0",
"mongodb": "6.12.0",
"mongoose": "8.9.4",
"ngx-avatars": "1.8.0",
"ngx-google-analytics": "14.0.1",
"ngx-print": "2.0.0",
"ngx-quill": "27.0.0",
"ngx-stripe": "19.0.0",
"nodemailer": "6.9.16",
"primeicons": "7.0.0",
"primeng": "17.18.15",
"quill": "2.0.2",
"quill-emoji": "git+https://github.com/artknight/quill-emoji.git",
"quill-mention": "6.0.2",
"rxjs": "7.8.1",
"stripe": "17.5.0",
"tslib": "2.8.1",
"winston": "3.17.0",
"winston-mongodb": "6.0.0",
"ws": "8.18.0",
"zapier-platform-core": "16.1.0",
"zone.js": "0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "19.0.7",
"@angular-devkit/core": "19.0.7",
"@angular-devkit/schematics": "19.0.7",
"@angular-eslint/builder": "19.0.2",
"@angular-eslint/eslint-plugin": "19.0.2",
"@angular-eslint/eslint-plugin-template": "19.0.2",
"@angular-eslint/schematics": "19.0.2",
"@angular-eslint/template-parser": "19.0.2",
"@angular/cli": "19.0.7",
"@angular/compiler-cli": "19.0.6",
"@angular/language-service": "19.0.6",
"@graphql-eslint/eslint-plugin": "4.3.0",
"@nx/eslint": "20.3.1",
"@nx/jest": "20.3.1",
"@nx/node": "20.3.1",
"@nx/workspace": "20.3.1",
"@schematics/angular": "19.0.7",
"@stylistic/eslint-plugin": "2.13.0",
"@types/chart.js": "2.9.41",
"@types/cors": "2.8.17",
"@types/file-saver": "2.0.7",
"@types/jest": "29.5.14",
"@types/lodash-es": "4.17.12",
"@types/mime-types": "2.1.4",
"@types/node": "20.17.12",
"@types/nodemailer": "6.4.17",
"@types/request-promise": "4.1.51",
"@types/ws": "8.5.13",
"@types/yargs": "17.0.33",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/parser": "8.19.1",
"@typescript-eslint/utils": "8.19.1",
"concurrently": "9.1.2",
"dotenv": "16.4.7",
"eslint": "8.57.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsdoc": "50.6.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-rxjs": "5.0.3",
"eslint-plugin-unicorn": "56.0.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-preset-angular": "14.5.0",
"localtunnel": "2.0.2",
"nx": "20.3.1",
"rimraf": "6.0.1",
"stylelint": "16.13.0",
"stylelint-config-standard-scss": "14.0.0",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.6.3",
"xmlhttprequest": "1.8.0",
"yargs": "17.7.2",
"zapier-platform-cli": "16.1.0"
} |
I have similar issues after upgrading
|
I have the same issue and downgrading to 3.723.0 didn't help |
I am also seeing the same TS2308 errors when Dependabot updated
|
@KeithGillette - thanks for sharing your The root cause here is due to To resolve this, you can either install
cc: @stemail23 @Sheldenshi @SageGary Hope it helps, |
Right you are, @aBurmeseDev. I verified that deleting |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Checkboxes for prior research
Describe the bug
Updating a project with
@aws-sdk/client-s3
,@aws-sdk/s3-request-presigner
, &@aws-sdk/util-create-request
from3.723.0
to3.726.0
or3.726.1
generates TS2345 & TS2308 errors upon runningtsc
.Regression Issue
SDK version number
@aws-sdk/[email protected], @aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.17.0
Reproduction Steps
[email protected]
(or 3.726.1) and latestcreateRequest
from@aws-sdk/[email protected]
similar to:Observed Behavior
tsc
generates:Expected Behavior
Minor version update would not introduce incompatible types.
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: