Skip to content

Installation error #255

Open
Open
@WeiTeck13

Description

I perform npm install --save @react-native-clipboard/clipboard and receive the following error:

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error   react@"18.3.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"16.9.0 || 16.11.0 || 16.13.1 || 17.0.1 || 17.0.2 || 18.0.0 || 18.1.0 || 18.2.0" from @react-native-clipboard/[email protected]
npm error node_modules/@react-native-clipboard/clipboard
npm error   @react-native-clipboard/clipboard@"*" 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.
npm error
npm error
npm error For a full report see:
npm error C:\Users\user\AppData\Local\npm-cache\_logs\2024-08-27T03_25_35_903Z-eresolve-report.txt

npm error A complete log of this run can be found in: C:\Users\user\AppData\Local\npm-cache\_logs\2024-08-27T03_25_35_903Z-debug-0.log

I am not very sure why this happens. Can you please help me? Thank you.

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions