Skip to content

ssr-demo needs react 18 #37

Description

@smol-honk

Expected Behavior

We should be able to run the ssr-demo locally without needing to upgrade react or getting a fatal error about react.

Current Behavior

Got this error when trying to run ssr-demo locally:

Error: Next.js requires react >= 18.2.0 to be installed.
    at Object.<anonymous> (/Users/my.username/experiment-node-server/node_modules/next/dist/build/webpack-config.js:1842:11)

Possible Solution

I upgraded react to be v 18.2.0 and it ran correctly after that.

Steps to Reproduce

  1. Clone the repo
  2. Yarn install
  3. cli command yarn start
  4. get fatal error about react version

Environment

  • JS Server SDK Version: main branch
  • Installation Method: yarn
  • Browser and Version: Chrome Version 120.0.6099.129

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions