Yesterday I updated my react-native app to version 0.72.0.
Since then I get issues that modules can't be resolved when I try to run the Android emulator.
SDK version number
@aws-sdk/client-cognito-identity-provider@3.358.0
Which JavaScript Runtime is this issue in?
React Native
Details of the browser/Node.js/ReactNative version
App does no longer launch. It gets the following error message:
Expected Behavior
App launches w/o error message.
Possible Solution
The simple solution seems to install the "stream" package. But then another module can't be loaded. Until it says it can't load the module "http". And then I didn't know what to do anymore.
Note that one month ago I didn't have any of those issues.
Checkboxes for prior research
Describe the bug
Yesterday I updated my react-native app to version
0.72.0.
Since then I get issues that modules can't be resolved when I try to run the Android emulator.SDK version number
@aws-sdk/client-cognito-identity-provider@3.358.0
Which JavaScript Runtime is this issue in?
React Native
Details of the browser/Node.js/ReactNative version
0.72.0
Reproduction Steps
Reproduction steps
1) Install react native & aws sdk:
2) Add the following to the import section of to App.tsx:
3) Add the following code to the App function:
4) Then run the following commands:
Observed Behavior
App does no longer launch. It gets the following error message:
Expected Behavior
App launches w/o error message.
Possible Solution
The simple solution seems to install the "stream" package. But then another module can't be loaded. Until it says it can't load the module "http". And then I didn't know what to do anymore.
Note that one month ago I didn't have any of those issues.
Additional Information/Context
Another user with a similar issue: https://github.com/aws/aws-sdk-js-v3/issues/3549
Unfortunately he didn't say how he solved his issue.