react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Attempted to remove more RCTLinkingManager listeners than added

Open mehmetcansahin opened this issue 4 years ago • 13 comments

New Version

0.66.4

Old Version

0.66.1

Build Target(s)

ios simulator

Output of react-native info

System: OS: macOS 12.0.1 CPU: (8) arm64 Apple M1 Memory: 803.86 MB / 16.00 GB Shell: 3.3.1 - /opt/homebrew/bin/fish Binaries: Node: 17.0.1 - /opt/homebrew/bin/node Yarn: 1.22.17 - /opt/homebrew/bin/yarn npm: 8.1.0 - /opt/homebrew/bin/npm Watchman: 2021.10.18.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.2 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3 Android SDK: API Levels: 26, 28, 29, 30, 31 Build Tools: 29.0.2, 30.0.2, 31.0.0 System Images: android-31 | Google Play ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7784292 Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild Languages: Java: 11.0.10 - /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.66.1 => 0.66.1 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Issue and Reproduction Steps

When I upgrade from react native version 0.66.1 to 0.66.4 I get the error "Attempted to remove more RCTLinkingManager listeners than added". This error causes the application to crash. I downgrade the application, the problem is solved.

mehmetcansahin avatar Dec 27 '21 15:12 mehmetcansahin

I'm also getting the error on React Native 0.66.1.

mansdahlstrom1 avatar Jan 11 '22 09:01 mansdahlstrom1

I'm also getting this when i try to use react-native-gifted-chat

fatih18 avatar Jan 17 '22 09:01 fatih18

I'm also getting this error on React Native 0.66.4. Does anyone have a solution for that problem?

olcaneristi avatar Jan 25 '22 14:01 olcaneristi

I think you use amplify-js? if yes here is an issue:

https://github.com/aws-amplify/amplify-js/issues/9492

ghost avatar Feb 07 '22 10:02 ghost

I think you use amplify-js? if yes here is an issue:

aws-amplify/amplify-js#9492

nope, I'm not using Amplify. :(

olcaneristi avatar Feb 07 '22 10:02 olcaneristi

Same error here after updating to react-native v0.66.4 and we are not using amplify-js

beisert1 avatar Mar 01 '22 14:03 beisert1

I am also facing the same issue after upgrading to react-native v0.66.4 and not using amplify-js as well.

AkshatSharda avatar Mar 02 '22 10:03 AkshatSharda

i am also facing the same issue after upgrading from 0.61.5 to 0.66.4 and not using amplify-js as well.

Nishit-Chauhan avatar Mar 02 '22 13:03 Nishit-Chauhan

Want to add that I updated to latest 0.67.3 in hopes it would not have this issue but unfortunately it does. It appears this error is happening since version 0.66.0

beisert1 avatar Mar 02 '22 16:03 beisert1

For anyone struggling with this issue please check react-navigation, we are on an old fork of v2 react-navigation and I was able to apply something similar to this solution that resolved this error: https://github.com/react-navigation/react-navigation/issues/9894

beisert1 avatar Mar 02 '22 19:03 beisert1

For anyone struggling with this issue please check react-navigation, we are on an old fork of v2 react-navigation and I was able to apply something similar to this solution that resolved this error: https://github.com/react-navigation/react-navigation/issues/9894

Can you please share how you went about solving this?

Do you need to apply those edits every time you run yarn / npm install?

nica0012 avatar Jul 21 '22 18:07 nica0012

This issue exist in 0.68 as well. Any fix/workaround available?

yasodha-r avatar Jan 06 '23 16:01 yasodha-r

Still happening in 0.70.3

brysonjonesy avatar Jan 11 '23 05:01 brysonjonesy

appeared after upgrading the RN from 61 to 69

gern132 avatar Feb 21 '23 09:02 gern132

I'm also facing the same issue after upgrading from 0.64.0 to 0.70.0

sandeepa91 avatar Apr 05 '23 09:04 sandeepa91

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Apr 09 '24 05:04 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Apr 16 '24 05:04 github-actions[bot]

still getting this error in react-native 0.71.4

aurangs7 avatar May 17 '24 11:05 aurangs7

Still happening in RN 0.71.4

AngCosmin avatar May 23 '24 10:05 AngCosmin