AWS -SDK and Angular 17 issue #4568
Labels
bug
This issue is a bug.
closed-for-staleness
p3
This is a minor priority issue
response-requested
Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Describe the bug
I installed the package using
npm i aws-sdk
and then added the node in types and installednpm i --save-dev @types/node
and in my ts fileimport * as aws from 'aws-sdk';
but still getting many errors.Expected Behavior
I expected to run the App with no errors
Current Behavior
Error: node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts:2836:31 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.2836 export type ImageFileType = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/comprehend.d.ts:3875:44 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.3875 export type SemiStructuredDocumentBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/datasync.d.ts:1995:36 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1995 export type KerberosKeytabFile = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/datasync.d.ts:1996:38 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1996 export type KerberosKrb5ConfFile = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/datasync.d.ts:2441:42 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2441 export type ObjectStorageCertificate = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/directconnect.d.ts:1919:28 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1919 export type LoaContent = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/dms.d.ts:1070:35 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1070 export type CertificateWallet = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/dynamodb.d.ts:871:38 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.871 export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/dynamodbstreams.d.ts:92:38 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.92 export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/ebs.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/ebs.d.ts:75:27 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.75 export type BlockData = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/ecr.d.ts:1514:31 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1514 export type LayerPartBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/ecrpublic.d.ts:698:31 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.698 export type LayerPartBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/ecrpublic.d.ts:712:31 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.712 export type LogoImageBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/ec2.d.ts:7187:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.7187 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/firehose.d.ts:496:22 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.496 export type Data = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/frauddetector.d.ts:3576:22 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.3576 export type blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/gamelift.d.ts:4930:25 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.4930 export type ZipBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/glacier.d.ts:8:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
8 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/glacier.d.ts:1314:24 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1314 export type Stream = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/glue.d.ts:2492:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2492 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/greengrassv2.d.ts:1524:28 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1524 export type RecipeBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iam.d.ts:1463:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1463 export type BootstrapDatum = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iam.d.ts:4113:35 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.4113 export type ReportContentType = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iot.d.ts:9331:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.9331 export type MqttPassword = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iot.d.ts:10417:27 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.10417 export type Signature = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iotanalytics.d.ts:1539:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1539 export type MessagePayload = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iotdata.d.ts:134:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.134 export type JsonDocument = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iotdata.d.ts:188:25 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.188 export type Payload = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iotdata.d.ts:280:36 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.280 export type UserPropertiesBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/ioteventsdata.d.ts:667:25 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.667 export type Payload = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iotfleetwise.d.ts:2014:33 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2014 export type NetworkFileBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iotsitewise.d.ts:3787:31 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.3787 export type ImageFileData = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/iotwireless.d.ts:1864:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1864 export type GeoJsonPayload = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/kafka.d.ts:4114:24 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.4114 export type __blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/kendra.d.ts:925:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.925 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/kinesis.d.ts:367:22 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.367 export type Data = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/kinesisanalyticsv2.d.ts:2546:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2546 export type ZipFileContent = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts:428:25 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.428 export type Payload = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/kinesisvideomedia.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/kinesisvideomedia.d.ts:52:25 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.52 export type Payload = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/kms.d.ts:443:41 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.443 export type AttestationDocumentType = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/kms.d.ts:457:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.457 export type CiphertextType = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/kms.d.ts:1588:31 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1588 export type PlaintextType = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/kms.d.ts:1593:31 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1593 export type PublicKeyType = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/lakeformation.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/lakeformation.d.ts:1961:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1961 export type ResultStream = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/lambda.d.ts:9:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
9 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/lambda.d.ts:777:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.777 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/lambda.d.ts:778:28 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.778 export type BlobStream = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/lambda.d.ts:2102:15 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2102 Payload?: Buffer;
~~~~~~
Error: node_modules/aws-sdk/clients/lexmodelbuildingservice.d.ts:355:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.355 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/lexruntime.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/lexruntime.d.ts:89:28 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.89 export type BlobStream = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/lexruntimev2.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/lexruntimev2.d.ts:88:28 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.88 export type BlobStream = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/location.d.ts:741:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.741 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/lookoutvision.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/lookoutvision.d.ts:205:29 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.205 export type AnomalyMask = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/lookoutvision.d.ts:288:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.288 export type DatasetChanges = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/lookoutvision.d.ts:1104:24 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1104 export type Stream = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/medialive.d.ts:8:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
8 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/medialive.d.ts:7621:38 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.7621 export type InputDeviceThumbnail = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/mediastoredata.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/mediastoredata.d.ts:198:29 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.198 export type PayloadBlob = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/medicalimaging.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/medicalimaging.d.ts:306:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.306 export type DICOMAttribute = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/medicalimaging.d.ts:715:38 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.715 export type ImageSetMetadataBlob = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/medicalimaging.d.ts:885:29 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.885 export type PayloadBlob = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/mobile.d.ts:106:26 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.106 export type Contents = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/neptunedata.d.ts:341:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.341 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/neptunedata.d.ts:1577:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1577 export type ReportAsText = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/omics.d.ts:8:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
8 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/omics.d.ts:1069:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1069 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/omics.d.ts:3957:42 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.3957 export type ReadSetPartStreamingBlob = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/omics.d.ts:3960:38 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.3960 export type ReadSetStreamingBlob = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/omics.d.ts:4127:40 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.4127 export type ReferenceStreamingBlob = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/panorama.d.ts:355:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.355 export type Certificates = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/pinpoint.d.ts:5895:24 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.5895 export type __blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/pinpointemail.d.ts:1505:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1505 export type RawMessageData = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts:637:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.637 export type AttachmentBody = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/polly.d.ts:8:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
8 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/polly.d.ts:94:29 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.94 export type AudioStream = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/qbusiness.d.ts:735:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.735 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/qldb.d.ts:321:24 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.321 export type Digest = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/qldbsession.d.ts:32:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.32 export type CommitDigest = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/qldbsession.d.ts:131:27 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.131 export type IonBinary = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/quicksight.d.ts:1960:43 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1960 export type AssetBundleImportBodyBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/rdsdataservice.d.ts:149:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.149 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/redshiftdata.d.ts:164:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.164 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/rekognition.d.ts:2780:33 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2780 export type GroundTruthBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/rekognition.d.ts:2834:27 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2834 export type ImageBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/rekognition.d.ts:3258:35 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.3258 export type LivenessImageBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/rolesanywhere.d.ts:241:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.241 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/rolesanywhere.d.ts:390:45 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.390 export type ImportCrlRequestCrlDataBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/rolesanywhere.d.ts:837:45 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.837 export type UpdateCrlRequestCrlDataBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/sagemakergeospatial.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/sagemakergeospatial.d.ts:206:28 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.206 export type BinaryFile = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/sagemakerruntime.d.ts:41:26 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.41 export type BodyBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/sagemakerruntime.d.ts:227:26 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.227 export type PartBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/sagemakerruntime.d.ts:232:13 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.232 Bytes?: Buffer;
~~~~~~
Error: node_modules/aws-sdk/clients/schemas.d.ts:1184:22 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1184 export type Body = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/secretsmanager.d.ts:879:34 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.879 export type SecretBinaryType = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/ses.d.ts:1541:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1541 export type RawMessageData = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/sesv2.d.ts:3373:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.3373 export type RawMessageData = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/signer.d.ts:211:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.211 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/signer.d.ts:633:25 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.633 export type Payload = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/sns.d.ts:391:24 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.391 export type Binary = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/sqs.d.ts:240:24 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.240 export type Binary = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/ssm.d.ts:6819:48 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.6819 export type MaintenanceWindowLambdaPayload = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/support.d.ts:368:22 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.368 export type Data = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/synthetics.d.ts:221:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.221 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/s3.d.ts:12:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
12 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/s3.d.ts:976:22 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.976 export type Body = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/s3.d.ts:1583:42 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1583 export type CopySourceSSECustomerKey = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/s3.d.ts:5705:15 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.5705 Payload?: Buffer;
~~~~~~
Error: node_modules/aws-sdk/clients/s3.d.ts:6006:32 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.6006 export type SSECustomerKey = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/textract.d.ts:1111:27 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1111 export type ImageBlob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/tnb.d.ts:280:23 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.280 export type _Blob = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/translate.d.ts:263:33 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.263 export type DocumentContent = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/translate.d.ts:748:33 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.748 export type TerminologyFile = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/translate.d.ts:981:43 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.981 export type TranslatedDocumentContent = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/waf.d.ts:696:39 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.696 export type ByteMatchTargetString = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/wafregional.d.ts:740:39 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.740 export type ByteMatchTargetString = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/wafv2.d.ts:3041:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.3041 export type SearchString = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/workmailmessageflow.d.ts:7:24 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
7 import {Readable} from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/clients/workmailmessageflow.d.ts:77:36 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.77 export type messageContentBlob = Buffer|Uint8Array|Blob|string|Readable;
~~~~~~
Error: node_modules/aws-sdk/clients/workspaces.d.ts:1199:29 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.1199 export type DefaultLogo = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/workspaces.d.ts:2036:27 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2036 export type Ios2XLogo = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/workspaces.d.ts:2037:27 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2037 export type Ios3XLogo = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/workspaces.d.ts:2098:25 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.2098 export type IosLogo = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/clients/workspacesweb.d.ts:652:42 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.652 export type CertificateAuthorityBody = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/lib/config-base.d.ts:1:34 - error TS2307: Cannot find module 'http' or its corresponding type declarations.
1 import {Agent as httpAgent} from 'http';
~~~~~~
Error: node_modules/aws-sdk/lib/config-base.d.ts:2:35 - error TS2307: Cannot find module 'https' or its corresponding type declarations.
2 import {Agent as httpsAgent} from 'https';
~~~~~~~
Error: node_modules/aws-sdk/lib/dynamodb/document_client.d.ts:2:25 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
2 import * as stream from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/lib/dynamodb/document_client.d.ts:107:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.107 export type binaryType = Buffer|File|Blob|ArrayBuffer|DataView|Int8Array|Uint8Array|Uint8ClampedArray|Int16Array|Uint16Array|Int32Array|Uint32Array|Float32Array|Float64Array|stream.Stream;
~~~~~~
Error: node_modules/aws-sdk/lib/dynamodb/document_client.d.ts:500:38 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.500 export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string;
~~~~~~
Error: node_modules/aws-sdk/lib/event-stream/event-stream.d.ts:1:55 - error TS2503: Cannot find namespace 'NodeJS'.
1 export interface StreamingEventStream extends NodeJS.ReadableStream {
~~~~~~
Error: node_modules/aws-sdk/lib/http_request.d.ts:21:20 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.21 body: string | Buffer;
~~~~~~
Error: node_modules/aws-sdk/lib/http_response.d.ts:1:25 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
1 import * as stream from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/lib/http_response.d.ts:14:18 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.14 body: string|Buffer|Uint8Array;
~~~~~~
Error: node_modules/aws-sdk/lib/request.d.ts:1:25 - error TS2307: Cannot find module 'stream' or its corresponding type declarations.
1 import * as stream from 'stream';
~~~~~~~~
Error: node_modules/aws-sdk/lib/request.d.ts:145:45 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.145 on(event: "httpData", listener: (chunk: Buffer|Uint8Array, response: Response<D, E>) => void, prepend?: boolean): Request<D, E>;
~~~~~~
Error: node_modules/aws-sdk/lib/request.d.ts:281:50 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.281 onAsync(event: "httpData", listener: (chunk: Buffer|Uint8Array, response: Response<D, E>) => void, prepend?: boolean): Request<D, E>;
~~~~~~
Error: node_modules/aws-sdk/lib/services/glacier.d.ts:10:28 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
and then add 'node' to the types field in your tsconfig.10 computeChecksums(data: Buffer|string): GlacierComputeChecksumsOutput;
~~~~~~
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
× Failed to compile.
`
Reproduction Steps
I am reporting the issue
Possible Solution
No response
Additional Information/Context
none
SDK version used
3
Environment details (OS name and version, etc.)
Windows 11
The text was updated successfully, but these errors were encountered: