Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amplify React Native Quickstart causes error #8173

Open
Jonnokc opened this issue Dec 19, 2024 · 1 comment
Open

Amplify React Native Quickstart causes error #8173

Jonnokc opened this issue Dec 19, 2024 · 1 comment

Comments

@Jonnokc
Copy link

Jonnokc commented Dec 19, 2024

Describe the bug
Quickstart instructions for React Native have a command that fails to run because of a dependency resolution issue.

To Reproduce
Steps to reproduce the behavior:
Adding authentication step:

npm add \ @aws-amplify/ui-react-native \ @aws-amplify/react-native \ aws-amplify \ @react-native-community/netinfo \ @react-native-async-storage/async-storage \ react-native-safe-area-context \ react-native-get-random-values \ react-native-url-polyfill

returns an error of incompatibility:
npm error While resolving: [email protected] npm error Found: [email protected] npm error node_modules/react-native npm error react-native@"0.76.5" from the root project

Expected behavior
Commands from quick start instructions should all succeed without errors.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Edge
  • Version: 131.0.2903.99
@natetallman
Copy link

You can turn off strict version checking as a workaround
npm config set legacy-peer-deps true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants