awslabs / aws-mobile-appsync-sdk-js

JavaScript library files for Offline, Sync, Sigv4. includes support for React Native
Apache License 2.0
916 stars 265 forks source link

Cannot find module: '@aws-sdk/util-endpoints' #734

Closed jsmith213561 closed 1 year ago

jsmith213561 commented 1 year ago

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

image

./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

Observed Behavior

Breaks

Expected Behavior

Should not break.

Possible Solution

No response

Additional Information/Context

No response

iartemiev commented 1 year ago

This was fixed in version 3.193. Closing