was playing around going through this AWS amplify tutorial (auth,S3, graphql setup)
all working locally but fails CI (and local npm run build) due to the following error… any ideas boys and girls?
node_modules/@aws-amplify/geo/lib-esm/util.js: symbol.charCodeAt is not a function
at Array.map (<anonymous>)
at Array.forEach (<anonymous>)
running these versions :
"@aws-amplify/ui-react": "^4.0.0",
"aws-amplify": "^5.0.1",
2
Answers
You need to downgrade your aws-amplify to 3.4.1
https://github.com/aws-amplify/amplify-js/issues/10773
I resolved this issue by
yarn build