react-native-reanimated: ReferenceError: Can't find variable: _setGlobalConsole, after upgrading to `-rc.2`.
Description
getting the following error after upgrading to 2.0.0-rc.2
from 2.0.0-rc.1
Screenshots
Steps To Reproduce
- upgrade to rc.2
- install the latest rc
rc.2
Expected behavior
it should work as before.
Actual behavior
it throws an error ReferenceError: Can't find variable: _setGlobalConsole
Snack or minimal code example
N/A
Package versions
- React: 16.13.1
- React Native: 0.63.4
- React Native Reanimated: ^2.0.0-rc.2
- NodeJS: v14.15.3
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 17
- Comments: 36 (6 by maintainers)
*I did this and it works for me
it might sound crazy but try creating a new project with
npx crna --template with-reanimated2
- reanimated will work in that@yunesdelivery
The problem turned out to be version incompatibility react-native-reanimated react-native-vision-camera react-native
To make everything work, I use the following versions:
Yes the issue happens on both android & IOS after upgrading & on fresh projects.
@PedroBern please try rc0(explained here)
@a-eid https://github.com/software-mansion/react-native-reanimated/issues/1640#issuecomment-766713089
@angrypie this is great. Now it is working fine after so much of struggle.
@Yandamuri config is ok. I also went through this steps to clean cache, before noticed my config issue, might be helpful.
hi @a-eid do you want iOS dev job in Tambov company? Please contact t.me/sundaleek