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.

ReferenceError: Can't find variable: _setGlobalConsole, after upgrading to `-rc.2`.

See original GitHub issue

Description

getting the following error after upgrading to 2.0.0-rc.2 from 2.0.0-rc.1

Screenshots

Screen Shot 2021-01-16 at 1 34 20 AM

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:17
  • Comments:31 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
francislowcommented, Jun 24, 2021
  1. delete the ‘node_modules’ folder
  2. run ‘npm cache clean --force’
  3. run ‘npm install’
  4. run ‘npm start --clear-cache’

*I did this and it works for me

2reactions
a-eidcommented, Jan 16, 2021

Yes the issue happens on both android & IOS after upgrading & on fresh projects.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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