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

Running Local API error on loading seed data #10

Closed
thomas-nixon-baseline opened this issue Oct 10, 2024 · 1 comment
Closed

Running Local API error on loading seed data #10

thomas-nixon-baseline opened this issue Oct 10, 2024 · 1 comment

Comments

@thomas-nixon-baseline
Copy link
Contributor

thomas-nixon-baseline commented Oct 10, 2024

When starting the API it fails with the following error

Error:
TypeError: (0 , import_core.setFeature) is not a function
    at /Users/me/my-app/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:147:36
    at /Users/me/my-app/node_modules/.pnpm/@[email protected]/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:28
    at /Users/me/my-app/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:341:24
    at _DynamoDBDocumentClient.send (/Users/me/my-app/node_modules/.pnpm/@[email protected]/node_modules/@smithy/smithy-client/dist-cjs/index.js:126:14)
    at /Users/me/my-app/node_modules/.pnpm/[email protected]/node_modules/serverless-dynamodb/dist/index.js:251:87
    at Timeout._onTimeout (/Users/me/my-app/node_modules/.pnpm/[email protected]/node_modules/serverless-dynamodb/dist/seeder.js:33:27)
    at listOnTimeout (node:internal/timers:581:17)
    at process.processTimers (node:internal/timers:519:7)

Can currently be patched by using a resolution, might not be ideal however.
package.json

  "resolutions": {
    "@aws-sdk/lib-dynamodb": "3.665.0"
  }

Looks like it is an issues with AWS SDK v3 aws/aws-sdk-js-v3#6549

@thomas-nixon-baseline
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant