Skip to content
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

3.54.1 generates error TS2305 "@aws-sdk/types" has no exported member 'SharedConfigFiles' / 'ParsedIniData' #3437

Closed
KeithGillette opened this issue Mar 16, 2022 · 12 comments · Fixed by #3452
Assignees
Labels
bug This issue is a bug.

Comments

@KeithGillette
Copy link

KeithGillette commented Mar 16, 2022

Describe the bug

Running tsc on a project with the default tsconfig.json skipLibCheck: false produces multiple TS2305 errors.

Your environment

SDK version number

"@aws-sdk/client-s3": "3.54.1",
"@aws-sdk/s3-request-presigner": "3.54.1",
"@aws-sdk/util-create-request": "3.54.1",
"@aws-sdk/util-format-url": "3.54.1",

Is the issue in the browser/Node.js/ReactNative?

TypeScript transpilation

Details of the browser/Node.js/ReactNative version

[email protected]

Steps to reproduce

Executing tsc on project dependent upon the @aws-sdk libraries listed above.

Observed behavior

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts:1:10 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.

1 import { SharedConfigFiles } from "@aws-sdk/types";
           ~~~~~~~~~~~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts:1:10 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'ParsedIniData'.

1 import { ParsedIniData, SharedConfigFiles } from "@aws-sdk/types";
           ~~~~~~~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts:1:25 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.

1 import { ParsedIniData, SharedConfigFiles } from "@aws-sdk/types";
                          ~~~~~~~~~~~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts:1:10 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'ParsedIniData'.

1 import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@aws-sdk/types";
           ~~~~~~~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts:1:44 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'Profile'.

1 import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@aws-sdk/types";
                                             ~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts:1:66 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.

1 import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@aws-sdk/types";
                                                                   ~~~~~~~~~~~~~~~~~


Found 6 errors.

Expected behavior

Project should transpile without error as before update.

@KeithGillette KeithGillette added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Mar 16, 2022
@KeithGillette KeithGillette changed the title 3.4.1 generates error TS2305 @aws-sdk/types"' has no exported member 'SharedConfigFiles' / 'ParsedIniData' 3.54.1 generates error TS2305 @aws-sdk/types"' has no exported member 'SharedConfigFiles' / 'ParsedIniData' Mar 16, 2022
@KeithGillette KeithGillette changed the title 3.54.1 generates error TS2305 @aws-sdk/types"' has no exported member 'SharedConfigFiles' / 'ParsedIniData' 3.54.1 generates error TS2305 "@aws-sdk/types" has no exported member 'SharedConfigFiles' / 'ParsedIniData' Mar 16, 2022
@trivikr
Copy link
Member

trivikr commented Mar 16, 2022

Possibly because of stripInternal tsconfig.

@trivikr trivikr self-assigned this Mar 16, 2022
@ajredniwja ajredniwja removed the needs-triage This issue or PR still needs to be triaged. label Mar 16, 2022
@trivikr
Copy link
Member

trivikr commented Mar 21, 2022

The internal types are not stripped for types in profile.ts

$ pwd
/local/home/trivikr/workspace/aws-sdk-js-v3/packages/types

$ yarn clean && yarn build
...

$ cat dist-types/profile.d.ts 
/**
 * @internal
 */
export interface Profile {
    [key: string]: string | undefined;
}
/**
 * @internal
 */
export interface ParsedIniData {
    [key: string]: Profile;
}
/**
 * @internal
 */
export interface SharedConfigFiles {
    credentialsFile: ParsedIniData;
    configFile: ParsedIniData;
}

@trivikr
Copy link
Member

trivikr commented Mar 21, 2022

I'm not sure why this issue is happening. It's possibly due to stripInternal configuration in @aws-sdk/signature-v4

I was not able to repro with the following project setup:

tsconfig
{
  "compilerOptions": {
    "target": "es2018",
    "module": "commonjs",
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "skipLibCheck": false
  }
}
index.ts
import { getSignedUrl } from "@aws-sdk/s3-request-presigner";

import {
  S3Client,
  GetObjectCommand,
  S3ClientConfig,
  GetObjectCommandInput,
} from "@aws-sdk/client-s3";

export const getSignedUrlForObject = (
  clientParams: S3ClientConfig,
  getObjectParams: GetObjectCommandInput
) => {
  const client = new S3Client(clientParams);
  const command = new GetObjectCommand(getObjectParams);
  return getSignedUrl(client, command, { expiresIn: 3600 });
};
package.json
{
  "dependencies": {
    "@aws-sdk/client-s3": "3.54.1",
    "@aws-sdk/s3-request-presigner": "3.54.1"
  },
  "devDependencies": {
    "@types/node": "17.0.21",
    "typescript": "4.6.2"
  }
}

I've removed @internal tag from profile types in #3452 though.

@KeithGillette
Copy link
Author

Was #3452 released in version 3.55.0, @trivikr? If so, it does not resolve the issue for me, as I get the same error running tsc (4.6.2) against a project built with 3.55.0. Reverting to 3.54.0 prevents the following errors:

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts:1:10 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.

1 import { SharedConfigFiles } from "@aws-sdk/types";
           ~~~~~~~~~~~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts:1:10 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'ParsedIniData'.

1 import { ParsedIniData, SharedConfigFiles } from "@aws-sdk/types";
           ~~~~~~~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts:1:25 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.

1 import { ParsedIniData, SharedConfigFiles } from "@aws-sdk/types";
                          ~~~~~~~~~~~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts:1:10 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'ParsedIniData'.

1 import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@aws-sdk/types";
           ~~~~~~~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts:1:44 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'Profile'.

1 import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@aws-sdk/types";
                                             ~~~~~~~

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts:1:66 - error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.

1 import { ParsedIniData as __ParsedIniData, Profile as __Profile, SharedConfigFiles as __SharedConfigFiles } from "@aws-sdk/types";
                                                                   ~~~~~~~~~~~~~~~~~


Found 6 errors in 3 files.

Errors  Files
     1  node_modules/@aws-sdk/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts:1
     2  node_modules/@aws-sdk/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts:1
     3  node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts:1

tsconfig.json

{
  "compileOnSave": false,
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "declaration": false,
    "downlevelIteration": true,
    "emitDecoratorMetadata": true,
    "esModuleInterop": true,
    "experimentalDecorators": true,
    "importHelpers": true,
    "lib": [
      "ES2018",
      "dom"
    ],
    "module": "es2020",
    "moduleResolution": "node",
    "noImplicitAny": true,
    "outDir": "./dist/out-tsc",
    "resolveJsonModule": true,
    "sourceMap": true,
    "strict": true,
    "strictNullChecks": false,
    "suppressImplicitAnyIndexErrors": true,
    "target": "es2015"
  }
}

@coding-bunny
Copy link

Running into this problem as well with 3.54.1 and 3.55.0 of the @aws-sdk/client-s3:

40 packages are looking for funding
  run `npm fund` for details

found 11 high severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details

> [email protected] build /var/task
> tsc

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts(1,10): error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.
node_modules/@aws-sdk/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts(1,10): error TS2305: Module '"@aws-sdk/types"' has no exported member 'ParsedIniData'.
node_modules/@aws-sdk/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts(1,25): error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.
node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts(1,10): error TS2305: Module '"@aws-sdk/types"' has no exported member 'ParsedIniData'.
node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts(1,44): error TS2305: Module '"@aws-sdk/types"' has no exported member 'Profile'.
node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts(1,66): error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.

And this caused by the s3-client, cause the other upgrades of the dependencies all work without issue, but as soon as I push @aws-sdk/s3-client above 3.54.0 this issue pops up.

@trivikr trivikr reopened this Mar 23, 2022
@jbalbien
Copy link

jbalbien commented Mar 23, 2022

I was able to get around this with npm i —save-dev @aws-sdk/types so that 3.55.0 (or whatever version is specified in package.json) is always used.

@coding-bunny
Copy link

Can confirm that npm i @aws-sdk/types allows to build our Docker Lambda images again.
So one of the packages in the SDK doesn't seem to be using the correct version.

@KeithGillette
Copy link
Author

KeithGillette commented Apr 4, 2022

Given the error messages I receive and the timing of their appearance with version 3.54.1, I suspect the issue originated in commit #ad6890d9eb58da4c2e192a461f78a57a5fc53f75, which added @aws-sdk/types in the shared-ini-file-loader package.json devDependencies. When I look at other packages and libraries from those installed in my project, such as client-s3, s3-request-presigner, util-create-request, util-format-url, @aws-sdk/types is instead included in package.json dependencies, not devDependencies.

@KeithGillette
Copy link
Author

KeithGillette commented Apr 16, 2022

This is error persists in our project through the past 19 releases, including 3.72.0. I've tested a build moving aws-sdk/types from devDependencies to dependencies in the shared-ini-file-loader package.json, so my previous surmise seems incorrect, though I believe the specified commit caused the incompatibility.

When I look at the version of @aws-sdk/types actually installed, it's 3.1.0 even though all of the aws-sdk packages installed in node_modules specify *, which currently resolves to 3.5.5, so I also suspect @coding-bunny's guess is not quite right, either.

I believe the culprit in our project is @aws-crypto/[email protected] (latest), which calls for @aws-sdk/types@^3.1.0 in its package.json dependencies, so I'm opening an issue in that repository referencing this one. The workaround reported by @jbalbien of forcing installation of @aws-sdk/types@latest by adding it as an development dependency does work, so hopefully a simple update of @aws-sdk/types in @aws-crypto/* dependencies will work without code changes.

@KeithGillette
Copy link
Author

KeithGillette commented Apr 23, 2022

I should probably just make @aws-sdk/types a dependency of my project as a work-around and be done with it but I'm still confused by this source of this error. While the outdated version (@aws-sdk/[email protected]) that is installed in my project matches that called for by @aws/aws-sdk-crypto-helpers as previous noted, I realize that the caret in the @aws/aws-sdk-crypto-helpers dependency entries: @aws-sdk/types@^3.1.0 should install the latest compatible version if I understand npm behavior correctly. However, npm is not installing what NPMJS shows as the latest version: @aws-sdk/[email protected].

Moreover, as I reported before, when I look at the errors generated by tsc with the default tsconfig.json skipLibCheck: false, they all stem from @aws-sdk/shared-ini-file-loader, which specifies @aws-sdk/types: * in its package.json dependencies. As I understand it, * will match any release since 0.0.0. Since the move of types in @aws-sdk/@3.54.1, however, I believe that wildcard version specification incorrect, since the following types don't exist in @aws-sdk/types prior to 3.54.1. So shouldn't @aws-sdk/shared-ini-file-loader specify @aws-sdk/types@^3.54.1 as its minimum requirement?

tsc

node_modules/@aws-sdk/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts(1,10): error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.
node_modules/@aws-sdk/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts(1,10): error TS2305: Module '"@aws-sdk/types"' has no exported member 'ParsedIniData'.
node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts(1,10): error TS2305: Module '"@aws-sdk/types"' has no exported member 'ParsedIniData'.
node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts(1,44): error TS2305: Module '"@aws-sdk/types"' has no exported member 'Profile'.
node_modules/@aws-sdk/shared-ini-file-loader/dist-types/types.d.ts(1,66): error TS2305: Module '"@aws-sdk/types"' has no exported member 'SharedConfigFiles'.

npx npm-why @aws-sdk/types

  Who required @aws-sdk/types:

  MyProject > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-crypto/sha256-browser > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-crypto/sha256-browser > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-crypto/sha1-browser > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-crypto/sha256-browser > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-crypto/sha256-browser > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/client-sts > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-ini > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-browser > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-js > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/credential-provider-node > @aws-sdk/credential-provider-sso > @aws-sdk/client-sso > @aws-crypto/sha256-js > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/eventstream-serde-browser > @aws-sdk/eventstream-marshaller > @aws-crypto/crc32 > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/eventstream-serde-browser > @aws-sdk/eventstream-marshaller > @aws-crypto/crc32 > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/eventstream-serde-browser > @aws-sdk/eventstream-serde-universal > @aws-sdk/eventstream-marshaller > @aws-crypto/crc32 > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/eventstream-serde-browser > @aws-sdk/eventstream-serde-universal > @aws-sdk/eventstream-marshaller > @aws-crypto/crc32 > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/eventstream-serde-node > @aws-sdk/eventstream-marshaller > @aws-crypto/crc32 > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/eventstream-serde-node > @aws-sdk/eventstream-marshaller > @aws-crypto/crc32 > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/eventstream-serde-node > @aws-sdk/eventstream-serde-universal > @aws-sdk/eventstream-marshaller > @aws-crypto/crc32 > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/eventstream-serde-node > @aws-sdk/eventstream-serde-universal > @aws-sdk/eventstream-marshaller > @aws-crypto/crc32 > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/middleware-flexible-checksums > @aws-crypto/crc32 > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/middleware-flexible-checksums > @aws-crypto/crc32 > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/middleware-flexible-checksums > @aws-crypto/crc32c > @aws-crypto/util > @aws-sdk/[email protected]
  MyProject > @aws-sdk/client-s3 > @aws-sdk/middleware-flexible-checksums > @aws-crypto/crc32c > @aws-sdk/[email protected]

@mfaheemakhtar
Copy link

I faced a similar issue today after installing @aws-sdk/client-lambda (latest).

Fixed it by installing @aws-sdk/types.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants