# Installation error: Could not resolve dependency

**URL:** https://forum.social.plus/t/installation-error-could-not-resolve-dependency/1364
**Category:** UIkit
**Created:** [June 27, 2024, 3:47am UTC](https://forum.social.plus/t/installation-error-could-not-resolve-dependency/1364 "2024-06-27T03:47:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jay](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jay](https://forum.social.plus/u/jay)
#### Post date: [June 27, 2024, 3:47am UTC](https://forum.social.plus/t/installation-error-could-not-resolve-dependency/1364/1 "2024-06-27T03:47:11Z")

</div>

During the installation, I get the following errors when following tutorials and closing the example repo for react native.

```auto
npm error While resolving: amity-react-native-social-ui-kit@4.0.0-beta-11
npm error Found: react-native@0.72.15
npm error node_modules/react-native
npm error dev react-native@"^0.72.4" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react-native@"^0.70.13" from @amityco/ts-sdk-react-native@6.27.0
npm error node_modules/@amityco/ts-sdk-react-native
npm error @amityco/ts-sdk-react-native@"^6.25.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

```

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [June 27, 2024, 10:44am UTC](https://forum.social.plus/t/installation-error-could-not-resolve-dependency/1364/2 "2024-06-27T10:44:53Z")

</div>

Hello @jay , Regarding the issue you encountered, we need some additional information to help you further:

1. The contents of your `package.json` file
2. Your current Node.js version

Thank you.

---

<div class="post-metadata">

### Author: ![jay](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jay](https://forum.social.plus/u/jay)
#### Post date: [June 27, 2024, 10:56am UTC](https://forum.social.plus/t/installation-error-could-not-resolve-dependency/1364/3 "2024-06-27T10:56:25Z")

</div>

Hi, thanks for getting back to me,  
Here’s the package.json content: [{ "name": "AmityReactNativeSocialUiKitExample", "version": "0.0.1", "pr - Pastebin.com](https://pastebin.com/3HHdY1qC)

I cloned this repo and followed the instructions in the readme file: [GitHub - AmityCo/Amity-Social-UIKit-React-Native-CLI-OpenSource at ASC-23313-react-native-ui-kit-4-0-create-post-page-to-support-image-video](https://github.com/AmityCo/Amity-Social-UIKit-React-Native-CLI-OpenSource/tree/ASC-23313-react-native-ui-kit-4-0-create-post-page-to-support-image-video)

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [June 27, 2024, 11:20am UTC](https://forum.social.plus/t/installation-error-could-not-resolve-dependency/1364/4 "2024-06-27T11:20:10Z")

</div>

@jay Thank you for the information you provided. I’ll pass this to the relevant team to check, and if I have any updates, I will inform you.

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [June 27, 2024, 11:48am UTC](https://forum.social.plus/t/installation-error-could-not-resolve-dependency/1364/5 "2024-06-27T11:48:42Z")

</div>

@jay For further checking, could you please provide a screen recording of the error occurring when you run the project? This will help us understand the issue more clearly. Thanks!
