core and ui-react trying to force react-native and react 18 deps #1621
Labels
Authenticator
An issue or a feature-request for an Authenticator UI Component
pending-response
Issue is pending response from the issue requestor
React Native
An issue or a feature-request for React Native platform
React
An issue or a feature-request for React platform
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
Next.js
Please describe your bug.
I'm trying to use amplify for handling the frontend of cognito auth. It works fine but the dependencies it pulls in cause some problems. For example it really wants me to install React 18:
Also, separately,
@aws-amplify/core
is pulling in react-native which I really don't want:What's the expected behaviour?
Not try to force React 18 or react-native just to get the amplify/react package.
Help us reproduce the bug!
npm i npm>=7.0.0
npm i react@^17.0.0
npm i @aws-amplify/ui-react@2.13.0
(get mad warnings)npm ls react-native
Code Snippet
// Put your code below this line.
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: