software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
9.04k stars 1.31k forks source link

When enabling the debug getting "com.facebook.react.common.Javascr iptException: console.assert is not a function" #4575

Closed ZeeshanAhmadKhalil closed 1 year ago

ZeeshanAhmadKhalil commented 1 year ago

Description

Hi I want to use React native debugger but when I enable it I am getting the following error

com.facebook.react.common.Javascr iptException: console.assert is not a function

This issue is create since the release of react-native-reanimated 2. Before this I worked with react native debugger and it worked fine.

Steps to reproduce

  1. Create a react native project and follow the steps to add drawer-navigation
  2. Run the application press and enable debigging

Snack or a link to a repository

https://github.com/esqualltpl/Coachieve Can be create easily using reproduce steps

Reanimated version

^3.0.1

React Native version

0.71.3

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

Debug mode

Device

Android emulator

Device model

No response

Acknowledgements

Yes

github-actions[bot] commented 1 year ago

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

ghana7989 commented 1 year ago

there is a thread with similar issue https://github.com/software-mansion/react-native-reanimated/issues/3951 check if it helps

tomekzaw commented 1 year ago

@ZeeshanAhmadKhalil Please upgrade to 3.3.0 and let us know if it works for you.

Latropos commented 1 year ago

I remember that bug, it got already solved 🥳