Deployments Failing with "Cannot Find Module @aws-sdk/*" after Version Bumps (React Native - Expo Managed Workflow) #1922
Labels
console-builds
Issues related to Amplify console builds
pending-triage
Incoming issues that need categorization
Environment information
Description
I made a few package version bumps:
And for the last few days since then, every one of my Gen 2 deployments has failed with a
Cannot Find Module @aws-sdk*
type of error:At first I thought, oh maybe I need to add that package now as a result of the version bump. So I will run
yarn add @aws-sdk/*package-name*
then I get another package. I added around 10 packages and kept getting more and realized something must be wrong. When I do install that particular package, the error then changes to a different package.Here is the actual full deployment failure log:
All the research I found seems to indicate some issue with the node installation. I've tried:
node_modules
andyarn_lock
and reinstalling everythingNeither worked.
Here is my
amplify.yml
:The text was updated successfully, but these errors were encountered: