Closed bogdan-boksan-ananas closed 10 months ago
@bogdan-boksan-ananas what was the solution?
@dmregister I didn't realise the project had this version of the library:
"@react-native-community/clipboard": "^1.5.1"
and it should be this:
"@react-native-clipboard/clipboard": "^1.12.1"
still getting the error due to this
there is no version 1.12.1. @bogdan-boksan-ananas
@bogdan-boksan-ananas @hamza157kashif try with a different version but not working @react-native-clipboard/clipboard
Does anyone know the solution?
issue++
just relace clipboard line in package.json from
"@react-native-community/clipboard":"^x.x.x"
with
"@react-native-community/clipboard": "https://github.com/react-native-clipboard/clipboard.git",
then yarn, rebuild your project
@matthewadel thanks for solution...
@matthewadel why doesn't install the latest version when doing yarn install
without specifying the git repo?
@johhansantana because the version on npm is behind the master branch and they havent made a release since april. It's a terrible solution since you are not really pointing at a specific version of the library, but a branch that can change at any time
Environment
Platforms
Android
Versions
Description
After upgrading RN to 0.73, when running app on Android, I get this error: