-
Notifications
You must be signed in to change notification settings - Fork 64
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
Error: Cannot find module '@aws-sdk/lib-dynamodb/dist-cjs/commands/utils' #398
Comments
This happens after updating If you need quick solution until issue is fixed just rollback version. |
Happened here as well, if you don't use the lib directly just use overrides, pnpm example: "pnpm": {
"overrides": {
"@aws-sdk/lib-dynamodb": "3.395.0"
}
}, 3.395 is the version used by electrodb |
Thank you for raising this, I will look into it 👍 |
I just pushed |
works fine with the latest version 👍🏻 |
Awesome, thanks for patching this asap @tywalch <3 |
Describe the bug
I just created a very simple npm project to test electrodb, and I get the above error. The schemas and code are the same as in the Quickstart page. The only difference is that I'm not using the deprecated
aws-sdk
package, and instead using@aws-sdk/client-dynamodb
.The problem seems to be with this line: https://github.com/tywalch/electrodb/blob/master/src/client.js#L2
ElectroDB Version
2.14.1
ElectroDB Playground Link
.
Entity/Service Definitions
Same as the Quickstart.
Expected behavior
Expected it to run.
Errors
Here's the full error:
The text was updated successfully, but these errors were encountered: