question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: global.__reanimatedWorkletInit is not a function on debug mode

See original GitHub issue

Description

I’ve upgraded to version 2.6.0. to fix remote debugging. The issue is fixed on ios, however, there’s some issue on Android when remote debugging is enabled

TypeError: global.__reanimatedWorkletInit is not a function

and then the app freezes. image

Package versions

name version
react-native 0.67.3
react-native-reanimated 2.6.0
NodeJS v16.14.2

Affected platforms

  • Android
  • iOS
  • Web

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
fadi-quader-moxcommented, Apr 12, 2022

this is fixed in Reanimated 2.7.0, however, the upgrade doesn’t fix debug mode on Android, there’s still some issue. I’ll open another issue. Thanks

1reaction
himrocks33commented, May 18, 2022

@codeion I’m having the same issue on web… Any progress on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: global.__reanimatedWorkletInit is not a function. (In ...
I just followed the below steps to solve this issue. step1: npx react-native run-android step2: npm start -- --reset-cache. and it solved.
Read more >
r.g.__reanimatedWorkletInit is not a function in expo snack
react native reanimated error r.g.__reanimatedWorkletInit is not a function. My apps is correctly working on my laptop. I am using VScode editor ...
Read more >
Troubleshooting - React Navigation
I'm getting an error "TypeError: Cannot read property 'bind' of undefined" or "TypeError: propListener.apply is not a function"​. This error can often happen...
Read more >
execution failed for task ':react-native-reanimated ... - You.com
Run with --info or --debug option to get more log output. Run with --scan to get full ... use or I'd get global.__reanimatedWorkletInit...
Read more >
console.debug is not a function in React Native debugging
What steps will reproduce the problem? 1.use console.debug in a RN app 2.run debugger in Webstorm 3.wait for the error. What is the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found