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

[Question] Problem with npm install #610

Open
RubenCantareroNavarro opened this issue Sep 3, 2024 · 3 comments
Open

[Question] Problem with npm install #610

RubenCantareroNavarro opened this issue Sep 3, 2024 · 3 comments

Comments

@RubenCantareroNavarro
Copy link

Hello!!

I am having this problem when running npm install. Does anyone know how to fix it?

npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @react-native-clipboard/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react-native
npm ERR!   react-native@"0.74.5" from the root project
npm ERR!   peer react-native@">=0.59" from @miblanchard/[email protected]
npm ERR!   node_modules/@miblanchard/react-native-slider
npm ERR!     @miblanchard/react-native-slider@"^2.3.1" from the root project
npm ERR!   42 more (@react-native-async-storage/async-storage, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.61.5 || ^0.62.3 || ^0.63.2 || ^0.64.2 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0" from @react-native-clipboard/[email protected]
npm ERR! node_modules/@react-native-clipboard/clipboard
npm ERR!   @react-native-clipboard/clipboard@"1.14.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react-native
npm ERR!   peer react-native@"^0.61.5 || ^0.62.3 || ^0.63.2 || ^0.64.2 || ^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.69.0 || ^0.70.0 || ^0.71.0 || ^0.72.0 || ^0.73.0" from @react-native-clipboard/[email protected]
npm ERR!   node_modules/@react-native-clipboard/clipboard
npm ERR!     @react-native-clipboard/clipboard@"1.14.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.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /home/ruben/.npm/_logs/2024-09-03T11_37_37_904Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/ruben/.npm/_logs/2024-09-03T11_37_37_904Z-debug-0.log

Thanks ;-)

@zzorba
Copy link
Owner

zzorba commented Sep 3, 2024

I usually install with yarn. Might work better?

@RubenCantareroNavarro
Copy link
Author

Thanks!! yarn worked!!

I would like to implement some ideas I have for the app. However, I am seeing that I need credentials for the arkhamdb api. I imagine I need this:
OAUTH_SITE=https://arkhamdb.com/
OAUTH_CLIENT_ID=your-public-oauth-id
OAUTH_CLIENT_SECRET=your-oauth-secret

Any idea how to get it?

@zzorba
Copy link
Owner

zzorba commented Sep 3, 2024

So you should be able to read and use the app for everything EXCEPT arkhamdb login without those secrets. ArkhamCards account login should work just fine in local dev mode.

I'm in the process of moving the oauth flow to the cloud (I'm about halfway done, but real life is getting in the way) after which it will be possible to interact with arkhamdb with local development as well.

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