Git Product home page Git Product logo

Comments (6)

Tejpbit avatar Tejpbit commented on May 20, 2024 17

That didn't work for me.

What worked for me was creating a before.js file only containing the require('react-native').unstable_enableLogBox(); line.
And then import './before'; at the very top of index.js

And I didn't change the App import into a require.

from upgrade-support.

naquilini avatar naquilini commented on May 20, 2024 2

I'm having the same issue when upgrading from react-native 0.61.4 to 0.63.4.
I'm using xCode 12.2.

I tried the solution proposed by @Tejpbit but no success unfortunately.

Is there something else I can try?

Thanks

from upgrade-support.

trizotti avatar trizotti commented on May 20, 2024 2

Same problem here, the logs are saying that require('react-native').unstable_enableLogBox() is now deprecated once it is included by default. Is there something else that worked for you guys?

from upgrade-support.

jakubgrzelak avatar jakubgrzelak commented on May 20, 2024

??

from upgrade-support.

selugbem avatar selugbem commented on May 20, 2024

Also having the deprecated note showing...any solution?

from upgrade-support.

AshlandWest avatar AshlandWest commented on May 20, 2024

I ran into this error on React Native. For me, the issue was due to my code throwing an error before LogBox had a chance to start.
Check your React Native debugger and see if there are any errors thrown before the error you're seeing in XCode.

from upgrade-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.