You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous version in which this bug was not present was
Before migrating to the esbuild system. This feature works with webpack builder.
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)
The previous version in which this bug was not present was
Before migrating to the
esbuild
system. This feature works withwebpack
builder.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
Source error preview:
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
Helpful link can be found here: angular/angular-cli#27771 (comment).
The text was updated successfully, but these errors were encountered: