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

Unable to install the module using NPM #141

Open
akhilsanker opened this issue Aug 10, 2022 · 4 comments
Open

Unable to install the module using NPM #141

akhilsanker opened this issue Aug 10, 2022 · 4 comments

Comments

@akhilsanker
Copy link

Hi,

Not able to install the node module using NPM.

"react": "17.0.2",
"react-native": "0.66.2",
node: v18.3.0
npm: v8.11.0

Thanks

@idortulov
Copy link

idortulov commented Aug 10, 2022

I can confirm that the library fails to install.

This is the error I am receiving:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: ******@0.0.1
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.11.0" from [email protected]
npm ERR! node_modules/react-native-zendesk-chat
npm ERR!   react-native-zendesk-chat@"^0.4.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

@akhilsanker You can fix it by running npm install --force.

@akhilsanker
Copy link
Author

Hi @idortulov ,

Thanks for the response.

I have tried with --force, but no change, unable to install.

Thanks

@idortulov
Copy link

idortulov commented Aug 13, 2022

Hi @idortulov ,

Thanks for the response.

I have tried with --force, but no change, unable to install.

Thanks

@akhilsanker Try deleting the ode_modules directory and package-lock.json file first and try with --force then. Hope it helps.

@Dat-Mobile
Copy link

Same error @idortulov

Can only install with yarn

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

3 participants