I have got this error when AWS amplify create a build for my React App
./node_modules/aws-appsync/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js Cannot find module: '@aws-sdk/util-endpoints'. Make sure this package is installed. You can install this package by running: npm install @aws-sdk/util-endpoints.
NPM version number
aws-appsync": "^4.1.5
Details of the browser/Node.js/React version
16.9.0
Reproduction Steps
Just install @aws-sdk/aws-appsyncand create a build using yarn build or npm run build you will be able to reproduce this
I've checked AWS Forums and StackOverflow. I've searched for previous similar issues and didn't find any solution.
Describe the bug :
I have got this error when AWS amplify create a build for my React App
./node_modules/aws-appsync/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js Cannot find module: '@aws-sdk/util-endpoints'. Make sure this package is installed. You can install this package by running: npm install @aws-sdk/util-endpoints.
NPM version number
aws-appsync": "^4.1.5
Details of the browser/Node.js/React version
16.9.0
Reproduction Steps
Just install
@aws-sdk/aws-appsync
and create a build usingyarn build
ornpm run build
you will be able to reproduce thisObserved Behavior
Breaks
Expected Behavior
Should not break.
Possible Solution
No response
Additional Information/Context
No response