amplitude / amplitude/experiment-node-server

ssr-demo needs react 18

Abierto
#37 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
2
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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. (/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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.