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
- Clone the repo
- Yarn install
- cli command
yarn start
- 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
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:
Possible Solution
I upgraded react to be v 18.2.0 and it ran correctly after that.
Steps to Reproduce
yarn startEnvironment