Migration to react 19 beta
Unanswered
Himalayan posted this in #help-forum
HimalayanOP
Hello, does someone migrated correctly to React@19 ?
Followed the migration guide (
And resulting in this message at the end on "next build" and "next dev"
In the package.json
Followed the migration guide (
And resulting in this message at the end on "next build" and "next dev"
▲ Next.js 14.2.3
- Environments: .env.production, .env
- Experiments (use with caution):
· turbo
Creating an optimized production build ...
✓ Compiled successfully
Linting and checking validity of types .It looks like you're trying to use TypeScript but do not have the required package(s) installed.
Installing dependencies
If you are not trying to use TypeScript, please remove the tsconfig.json file from your package root (and any TypeScript files in your pages directory).In the package.json
{
"dependencies": {
"@types/react": "npm:types-react@beta",
"@types/react-dom": "npm:types-react-dom@beta"
},
"overrides": {
"@types/react": "npm:types-react@beta",
"@types/react-dom": "npm:types-react-dom@beta"
}
}1 Reply
HimalayanOP
I use pnpm