-
Notifications
You must be signed in to change notification settings - Fork 1.5k
aws-sdk not working while creating the library in angular7. #2515
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @VivithaAlamur, It looks like those errors are all asking the same thing. Have you tried running |
@VivithaAlamur, one thought is that your @types/node is two major versions behind. The current version is 10.12.21. Using the caret range won't update you to major versions. If you are able to do so, could you please try updating to the newest version and see if that fixes your problem? |
@klaytaybai i updated the "@types/node": "^10.12.21" to latest and i added "types": ["node"] in tsconfig.app.json file but the issue still exist. { |
@klaytaybai for angular7 app this is working, if i am trying to creating the library using the angular cli this is not working (ng build libraryname --prod). |
I am also having this issue on Angular 7, with latest (11.9.4) version of @types/node and the "types": ["node"] declaration in tsconfig.json |
In case it helps anyone, what finally worked was putting "types": ["node"] in |
@VivithaAlamur Does @hughjdavey's suggestion resolve your issue? |
Yeah that is working for me .Thank you
On Fri, Feb 22, 2019 at 5:43 AM Chase Coalwell ***@***.***> wrote:
@VivithaAlamur <https://github.com/VivithaAlamur> Does @hughjdavey
<https://github.com/hughjdavey>'s suggestion resolve your issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2515 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZCPkiGmUPkIAM2EBniWB-mexG7zgKtvks5vPzY7gaJpZM4agr-r>
.
--
vivitha
|
Thanks @hughjdavey I had similar issue and your suggestion resolved my issue. Thanks a ton. |
Locking this issue as it has been resolved, and has been inactive for 4 months. |
We are also facing the same issue while building the library in angular7.
our package.json file inside library::
{
"name": "common-registration",
"version": "0.0.1-5",
"peerDependencies": {
"@angular/common": "^7.2.0",
"@angular/core": "^7.2.0",
"@lodash.merge": "^4.6.1",
"@angular/http": "^7.2.0",
"@angular/router": "^7.2.0",
"rxjs": "^6.3.3",
"@angular/forms": "^7.2.0",
"@angular/material": "^7.1.1",
"ngx-toastr": "^9.1.1",
"@angular/cdk": "^7.1.1",
"ngx-auto-unsubscribe": "^2.4.1",
"aws-sdk": "^2.270.1",
"ngx-webstorage": "^3.0.0-beta.14",
"@ng-select/ng-select": "^2.14.0",
"@ngx-translate/core": "^10.0.2",
"@ngx-translate/http-loader": "^3.0.1",
"@types/node": "^8.10.26"
}
}
package.json for app
{
"name": "registration",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"prebuild:library:dev": "cross-env LIB_ENV=dev node projects/common-registration/src/lib/environment-switcher.js",
"build:library:dev": "ng build common-registration --prod",
"prebuild:library:qa": "cross-env LIB_ENV=qa node projects/common-registration/src/lib/environment-switcher.js",
"build:library:qa": "ng build common-registration --prod",
"prebuild:library:prod": "cross-env LIB_ENV=prod node projects/common-registration/src/lib/environment-switcher.js",
"build:library:prod": "ng build common-registration --prod"
},
"private": true,
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/cdk": "^7.1.1",
"@angular/common": "^7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "^7.2.0",
"@angular/forms": "^7.2.0",
"@angular/http": "^7.2.0",
"@angular/material": "^7.1.1",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "^7.2.0",
"@ng-select/ng-select": "^2.14.0",
"@ngx-translate/core": "^10.0.2",
"@ngx-translate/http-loader": "^3.0.1",
"aws-sdk": "^2.270.1",
"core-js": "^2.5.4",
"lodash.merge": "^4.6.1",
"ngx-auto-unsubscribe": "^2.4.1",
"ngx-toastr": "^9.1.1",
"ngx-webstorage": "^3.0.0-beta.14",
"rxjs": "^6.3.3",
"tslib": "^1.9.0",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.12.0",
"@angular-devkit/build-ng-packagr": "~0.12.0",
"@angular/cli": "~7.2.3",
"@angular/compiler-cli": "~7.2.0",
"@angular/language-service": "~7.2.0",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^8.10.39",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^4.2.0",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tsickle": ">=0.34.0",
"tslib": "^1.9.0",
"tslint": "~5.11.0",
"typescript": "~3.2.2"
}
}
tsconfig.app.json
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"types": ["node"]
},
"exclude": [
"test.ts",
"**/*.spec.ts"
]
}
tsconfig.json
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"types": [ "node" ],
"lib": [
"es2018",
"dom"
],
"paths": {
"common-registration": [
"dist/common-registration"
],
"common-registration/": [
"dist/common-registration/"
]
}
}
}
Facing build error
BUILD ERROR
node_modules/aws-sdk/lib/http_response.d.ts(1,25): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/lib/http_response.d.ts(14,18): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acm.d.ts(132,37): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acm.d.ts(134,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acm.d.ts(468,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acm.d.ts(470,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/apigateway.d.ts(1146,23): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/clouddirectory.d.ts(1573,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/cloudsearchdomain.d.ts(7,24): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/clients/cloudsearchdomain.d.ts(42,23): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/cloudtrail.d.ts(141,28): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/codecommit.d.ts(634,29): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/codecommit.d.ts(1601,22): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts(2581,31): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/directconnect.d.ts(992,28): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/dms.d.ts(448,35): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/lib/dynamodb/document_client.d.ts(2,25): error TS2307: Cannot find module 'stream'.node_modules/aws-sdk/lib/dynamodb/document_client.d.ts(93,30): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/lib/dynamodb/document_client.d.ts(274,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types fieldin your tsconfig.
node_modules/aws-sdk/clients/dynamodb.d.ts(498,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/dynamodbstreams.d.ts(92,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/ec2.d.ts(3074,23): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/ecr.d.ts(767,31): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/firehose.d.ts(182,22): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/lib/services/glacier.d.ts(10,28): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/glacier.d.ts(7,24): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/clients/glacier.d.ts(1313,24): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iam.d.ts(1120,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iam.d.ts(3118,35): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iot.d.ts(4487,27): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iotdata.d.ts(73,30): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iotdata.d.ts(74,25): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/kinesis.d.ts(237,22): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/kms.d.ts(328,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/kms.d.ts(962,31): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/lambda.d.ts(7,24): error TS2307: Cannot find module 'stream'.node_modules/aws-sdk/clients/lambda.d.ts(372,23): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/lambda.d.ts(373,28): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/lexruntime.d.ts(7,24): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/clients/lexruntime.d.ts(35,28): error TS2580: Cannot find name 'Buffer'. Do you need to
install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/polly.d.ts(8,24): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/clients/polly.d.ts(70,29): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/rekognition.d.ts(1135,27): error TS2580: Cannot find name 'Buffer'. Do you need
to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in yourtsconfig.
node_modules/aws-sdk/clients/ses.d.ts(1513,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/sns.d.ts(275,24): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/sqs.d.ts(216,24): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/ssm.d.ts(4954,48): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/support.d.ts(336,22): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/waf.d.ts(628,39): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/wafregional.d.ts(672,39): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/lexmodelbuildingservice.d.ts(306,23): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/mobile.d.ts(106,26): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/mediastoredata.d.ts(7,24): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/clients/mediastoredata.d.ts(199,29): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/appsync.d.ts(248,23): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts(7,24): error TS2307: Cannot find module 'stream'.node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts(121,25): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/kinesisvideomedia.d.ts(7,24): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/clients/kinesisvideomedia.d.ts(53,25): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/sagemakerruntime.d.ts(24,26): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acmpca.d.ts(283,37): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acmpca.d.ts(285,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acmpca.d.ts(353,25): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/secretsmanager.d.ts(627,34): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iotanalytics.d.ts(1007,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/lib/config.d.ts(1,34): error TS2307: Cannot find module 'http'.
node_modules/aws-sdk/lib/config.d.ts(2,35): error TS2307: Cannot find module 'https'.
node_modules/aws-sdk/lib/request.d.ts(1,25): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/lib/request.d.ts(132,45): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/lib/event-stream/event-stream.d.ts(1,55): error TS2503: Cannot find namespace 'NodeJS'.node_modules/aws-sdk/clients/s3.d.ts(11,24): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/clients/s3.d.ts(787,22): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/s3.d.ts(1151,42): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/s3.d.ts(3347,15): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/s3.d.ts(3553,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.Error: node_modules/aws-sdk/lib/http_response.d.ts(1,25): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/lib/http_response.d.ts(14,18): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acm.d.ts(132,37): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acm.d.ts(134,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acm.d.ts(468,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/acm.d.ts(470,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/apigateway.d.ts(1146,23): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/clouddirectory.d.ts(1573,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/cloudsearchdomain.d.ts(7,24): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/clients/cloudsearchdomain.d.ts(42,23): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/cloudtrail.d.ts(141,28): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/codecommit.d.ts(634,29): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/codecommit.d.ts(1601,22): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts(2581,31): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/directconnect.d.ts(992,28): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/dms.d.ts(448,35): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/lib/dynamodb/document_client.d.ts(2,25): error TS2307: Cannot find module 'stream'.node_modules/aws-sdk/lib/dynamodb/document_client.d.ts(93,30): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/lib/dynamodb/document_client.d.ts(274,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types fieldin your tsconfig.
node_modules/aws-sdk/clients/dynamodb.d.ts(498,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/dynamodbstreams.d.ts(92,38): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/ec2.d.ts(3074,23): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/ecr.d.ts(767,31): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/firehose.d.ts(182,22): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/lib/services/glacier.d.ts(10,28): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/glacier.d.ts(7,24): error TS2307: Cannot find module 'stream'.
node_modules/aws-sdk/clients/glacier.d.ts(1313,24): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iam.d.ts(1120,32): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iam.d.ts(3118,35): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iot.d.ts(4487,27): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iotdata.d.ts(73,30): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.node_modules/aws-sdk/clients/iotdata.d.ts(74,25): error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i @types/node
and then addnode
to the types field in your tsconfig.Originally posted by @VivithaAlamur in #1944 (comment)
The text was updated successfully, but these errors were encountered: