amplitude / amplitude/experiment-node-server

ssr-demo needs react 18

Aberta
#37 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
TypeScript
Estrelas
2
Forks
8
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

## 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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.