Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssr-demo needs react 18 #37

Open
smol-honk opened this issue Dec 27, 2023 · 0 comments
Open

ssr-demo needs react 18 #37

smol-honk opened this issue Dec 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@smol-honk
Copy link

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
@smol-honk smol-honk added the bug Something isn't working label Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant