-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed as not planned
Closed as not planned
Copy link
Labels
needs: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is needed
Description
Command
build, serve
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
Before Migrating to the new build system
Description
I am trying to upload images to AWS but because of the Migrating to the new build system it is not working anymore
Minimal Reproduction
import { Upload } from "@aws-sdk/lib-storage";
import { S3Client } from "@aws-sdk/client-s3";
const parallelUploads3 = new Upload({
client: new S3Client({}),
params: { Bucket, Key, Body },
});
parallelUploads3.on("httpUploadProgress", (progress) => {
console.log(progress);
});
parallelUploads3.done() .then(
(data) => {
console.log(data)
},
(err: any) => {
console.log(err)
},
);
Exception or Error
TypeError: Cannot read properties of undefined (reading 'done')
at getChunkStream.js:5:5
at Generator.next (<anonymous>)
at resume (chunk-CDW57LCT.js?v=b9e9dd30:100:27)
at chunk-CDW57LCT.js?v=b9e9dd30:106:63
at new ZoneAwarePromise (zone.js:1425:21)
at it.<computed> [as next] (chunk-CDW57LCT.js?v=b9e9dd30:106:38)
at Upload.<anonymous> (Upload.js:130:9)
at Generator.next (<anonymous>)
at chunk-CDW57LCT.js?v=b9e9dd30:90:61
at new ZoneAwarePromise (zone.js:1425:21)
Your Environment
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 17.3.8
Node: 18.13.0
Package Manager: npm 8.19.4
OS: darwin x64
Angular: 17.3.10
... animations, cdk, common, compiler, compiler-cli, core, forms
... material, material-moment-adapter, platform-browser
... platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1703.8
@angular-devkit/build-angular 17.3.8
@angular-devkit/core 17.3.8
@angular-devkit/schematics 17.3.8
@angular/cli 17.3.8
@angular/google-maps 16.2.14
@schematics/angular 17.3.8
rxjs 7.8.1
typescript 5.4.5
zone.js 0.14.6
Anything else relevant?
"dependencies": {
"@angular-material-extensions/password-strength": "^16.0.0",
"@angular/animations": "^17.3.7",
"@angular/cdk": "^17.3.7",
"@angular/common": "^17.3.7",
"@angular/compiler": "^17.3.7",
"@angular/core": "^17.3.7",
"@angular/forms": "^17.3.7",
"@angular/google-maps": "^16.2.14",
"@angular/material": "^17.3.7",
"@angular/material-moment-adapter": "^17.3.7",
"@angular/platform-browser": "^17.3.7",
"@angular/platform-browser-dynamic": "^17.3.7",
"@angular/router": "^17.3.7",
"@aws-sdk/client-s3": "^3.574.0",
"@aws-sdk/credential-providers": "^3.574.0",
"@aws-sdk/lib-storage": "^3.574.0",
"@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^7.0.0",
"@tinymce/tinymce-angular": "^8.0.0",
"angular-calendar": "^0.31.1",
"angular-user-idle": "^4.0.0",
"bootstrap": "^4.6.2",
"file-saver": "^2.0.5",
"moment": "^2.30.1",
"ng2-pdf-viewer": "^10.0.0",
"ngx-captcha": "^13.0.0",
"ngx-image-cropper": "^7.2.1",
"ngx-mask": "^16.4.2",
"rxjs": "^7.4.0",
"tslib": "^2.6.2",
"xlsx": "^0.17.5",
"zone.js": "~0.14.5"
},
Metadata
Metadata
Assignees
Labels
needs: investigationRequires some digging to determine if action is neededRequires some digging to determine if action is needed