Comments (20)
How I fixed in the interim for my app... add dependency version overrides
in my app's package.json
:
"overrides": {
"@react-native-clipboard/clipboard": {
"react-native": "~0.74.0",
"react-native-windows": "~0.74.0"
}
},
from clipboard.
I have the same issue.
from clipboard.
How I fixed in the interim for my app... add dependency version
overrides
in my app'spackage.json
:"overrides": { "@react-native-clipboard/clipboard": { "react-native": "~0.74.0", "react-native-windows": "~0.74.0" } },
Doesn't seems to work
Removing package-lock.json
and rm -rf ./node_modules
is what I use when updating overrides
from clipboard.
Same problem
from clipboard.
npm update
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react-native
npm ERR! react-native@"0.74.0" from the root project
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! 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.
from clipboard.
How I fixed in the interim for my app... add dependency version
overrides
in my app'spackage.json
:"overrides": { "@react-native-clipboard/clipboard": { "react-native": "~0.74.0", "react-native-windows": "~0.74.0" } },
Doesn't seems to work
from clipboard.
Any fix?
from clipboard.
I have this issue also with react-native: 0.71.2.
from clipboard.
I have the same issue on React Native 0.72.14
$ npm install --save @react-native-clipboard/clipboard
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-native
npm error react-native@"0.72.14" from the root project
npm error 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 error node_modules/@react-native-clipboard/clipboard
npm error @react-native-clipboard/clipboard@"*" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react-native@"^0.73.0" from [email protected]
npm error node_modules/react-native-windows
npm error peer react-native-windows@"^0.61.0 || ^0.62.0 || ^0.63.0 || ^0.64.0 || ^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 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.
I guess it's on all React Native versions
from clipboard.
Same issue !!!
from clipboard.
After the change, the npm package is installed ok but when running pod install --repo-update
, I get
Invalid `RNCClipboard.podspec` file: undefined method `visionos' for #<Pod::Specification name="RNCClipboard">
from clipboard.
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
npm notice To update run: npm install -g [email protected]
npm notice
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-native
npm error react-native@"0.72.0" from the root project
npm error 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 error node_modules/@react-native-clipboard/clipboard
npm error @react-native-clipboard/clipboard@"^1.11.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react-native@"^0.73.0" from [email protected]
npm error node_modules/react-native-windows
npm error peer react-native-windows@"^0.61.0 || ^0.62.0 || ^0.63.0 || ^0.64.0 || ^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 error node_modules/@react-native-clipboard/clipboard
npm error @react-native-clipboard/clipboard@"^1.11.1" 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 /Users/chenlong/.npm/_logs/2024-06-04T02_39_56_054Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/chenlong/.npm/_logs/2024-06-04T02_39_56_054Z-debug-0.log
Also face the same issue.
from clipboard.
okay, ill just use --force argument in npm then
from clipboard.
i know it may be not that good idea, but i need this lib
from clipboard.
helped for me to fix ERESOLVE error when i use npm i
in cloned repository
How I fixed in the interim for my app... add dependency version
overrides
in my app'spackage.json
:"overrides": { "@react-native-clipboard/clipboard": { "react-native": "~0.74.0", "react-native-windows": "~0.74.0" } },
from clipboard.
Related Issues (20)
- [Android-New Arch] Cannot specify link libraries for target "react_codegen_RNCClipboard" which is not built by this project HOT 15
- Can we deprecate the NPM package for @react-native-community/clipboard
- no idea why need to link
- How get to work with Expo HOT 1
- App Hanging: App hanging for at least 2000 ms. Happens for iOS devices only. HOT 3
- Clear the clipboard
- Android: After upgrading to React Native version 0.73, build failed HOT 7
- Monorepo REACT_NATIVE_NODE_MODULES_DIR error HOT 2
- Getting "copied" send to device in android 13 HOT 1
- Task :react-native-community_clipboard:compileDebugJavaWithJavac FAILED HOT 14
- SetString("") not clear Gboard's clipboard
- Expose access to EXTRA_IS_SENSITIVE for setString on Android
- Error to Deploy to Android RN 0.73.2 HOT 6
- ios listener not being called
- public class ClipboardModule extends NativeClipboardModuleSpec HOT 3
- pod install fails undefined method `visionos' HOT 7
- Can we use this clipboard to listen to iOS AutoFill text?
- How to remove the default toast msg 'copied'
- Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNCClipboard' could not be found. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipboard.