null is not an object (evaluating RNAWSCognito.computeModPow)
See original GitHub issueDescribe the bug I hope this saves someone some time (and frustration)
A user can sign up or view the login page, but upon login, the following error is observed:
null is not an object (evaluating RNAWSCognito.computeModPow)
To Reproduce Create new >=RN0.60.0 project cd ios pod install build
Expected behavior Amplify podspec should correctly list RNAWSCognito.
Smartphone (please complete the following information):
- All
Additional context remember not to use react-native link when working in >=0.60.0
Fix simply run the following in your project root
yarn add amazon-cognito-identity-js
cd ios
pod install
Issue Analytics
- State:
- Created 4 years ago
- Reactions:21
- Comments:38 (9 by maintainers)
Top Results From Across the Web
null is not an object evaluating RNAWSCognito ... - GitHub
Describe the bug. I'm getting an error: "null is not an object evaluating RNAWSCognito.-computeModPow)", when I'm trying to Log In ; To Reproduce...
Read more >Cannot read property 'computeModPow' of undefined
Open the RNAWSCognito.xcodeproj and Products folders and drag libRNAWSCognito.a to Linked Frameworks and Libraries under the General tab. Re-run ...
Read more >AWS-Amplify/Lobby - Gitter
null is not an object (evaluating 'rnawscognito.computemodpow') react native ... When I deploy manually with no Amplify then it works fine.
Read more >Building a React Native app using AWS Mobile — Part 1
When I went to login I received the error “undefined is not an object(evaluating 'RNAWSCognito.computeModPow')”. After some digging I found ...
Read more >null is not an object (evaluating 'agorartcchannelmodule.prefix')
When i run my app on the ios, i get the error 'TypeError: null is not an object (evaluating 'AgoraRtcChannelModule.prefix')' Can you give...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be added to README documentation of
aws-amplify
, especially for the React Native part. I followed the normal README guide to installaws-amplify
but also got this error before I googled it and went here. It should be emphasised that bothaws-amplify
andamazon-cognito-identity-js
should be installed for React Native (at least for now as a workaround).I’ve just spotted that you mentioned it’s not in your pod file - that’s explains it. I had to manually add it:
#pod 'RNAWSCognito', :path => '../node_modules/amazon-cognito-identity-js'