amplify-backend icon indicating copy to clipboard operation
amplify-backend copied to clipboard

Please check whether you have installed the "@aws-sdk/crc64-nvme-crt" package explicitly

Open sobolk opened this issue 10 months ago • 3 comments

Certain versions of AWS SDK v3 can throw

Error: Please check whether you have installed the @aws-sdk/crc64-nvme-crt package explicitly. 
You must also register the package by calling [require(@aws-sdk/crc64-nvme-crt);] or an ESM equivalent such as [import @aws-sdk/crc64-nvme-crt;]. 
For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt	

Amplify customers can see this message while deploying backend resources.

To resolve the problem please upgrade @aws-sdk/client-s3 to 3.735.0 or later in your project.

Related reports in SDK repository: https://github.com/aws/aws-sdk-js-v3/issues/6855 https://github.com/aws/aws-sdk-js-v3/issues/6822

sobolk avatar Jan 31 '25 16:01 sobolk

The AWS SDK for JavaScript team has added a deprecation message to v3.729.0 through v3.734.0 of @aws-sdk/client-s3 calling out this issue.

kuhe avatar Jan 31 '25 20:01 kuhe

This error appears to be stopping my deployments from working :(

observ3r avatar Feb 21 '25 03:02 observ3r

Upgrading the @aws-amplify backend and backend-cli resolved this issue for me.

Here's the part of my packages.json file with the packages: "@aws-amplify/backend": "^1.14.1", "@aws-amplify/backend-cli": "^1.4.11",

waltmayf avatar Feb 27 '25 19:02 waltmayf