GithubHelp home page GithubHelp logo

Comments (9)

shuding avatar shuding commented on May 19, 2024 4

You can add this .babelrc configuration to your project root:

{
  "presets": [
    [
      "next/babel",
      {
        "preset-react": {
          "runtime": "classic"
        }
      }
    ]
  ]
}

Tested and it would solve the problem for now. 👍

from nextra.

shuding avatar shuding commented on May 19, 2024 1

@benoror Looks like something with React 17, I'll be taking a look. Thanks for reporting!

Related: vercel/next.js#18461

from nextra.

shuding avatar shuding commented on May 19, 2024 1

@plongoria FYI currently the only work around I have is to use react@16.

from nextra.

smakosh avatar smakosh commented on May 19, 2024 1

This might help @shuding system-ui/theme-ui#1160

from nextra.

sarthaktexas avatar sarthaktexas commented on May 19, 2024

that's weird, works for me

from nextra.

benoror avatar benoror commented on May 19, 2024

This is the commit where I was facing the issue, maybe you can reproduce it: https://github.com/BaseQL/baseql-docs/tree/910b1c86b37e5247251dda2a837e6d0bf88a82c7

from nextra.

sarthaktexas avatar sarthaktexas commented on May 19, 2024

Ohhh I see. Looks like your main branch has the same version dependencies as mine but the commit you sent doesn't.

from nextra.

benoror avatar benoror commented on May 19, 2024

This is the failing combo afaict: https://github.com/BaseQL/baseql-docs/blob/910b1c86b37e5247251dda2a837e6d0bf88a82c7/package.json

from nextra.

plongoria avatar plongoria commented on May 19, 2024

Any update on this? I also have the same issue

from nextra.

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.