aws-amplify / aws-amplify/docs

Amplify React Native Quickstart causes error

Open
#8,173 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**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: logisticsapp@1.0.0
npm error Found: react-native@0.76.5
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.