next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

@vercel/postgres package is not compatible with react 19

Open kapos0 opened this issue 1 year ago • 0 comments

PS C:\Users\Adminisrator\Desktop\nextjs-dashboard> pnpm i @vercel/postgres  WARN  6 deprecated subdependencies found: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] Already up to date Progress: resolved 250, reused 223, downloaded 0, added 0, done  WARN  Issues with peer dependencies found . └─┬ next 15.0.0 ├── ✕ unmet peer react@"^18.2.0 || 19.0.0-rc-65a56d0e-20241020": found 19.0.0-rc-cd22717c-20241013 └── ✕ unmet peer react-dom@"^18.2.0 || 19.0.0-rc-65a56d0e-20241020": found 19.0.0-rc-cd22717c-20241013

Done in 4.6s


@vercel/postgres package is not compatible with react 19. The problem is solved by downgrading the react version to 18.2.0 from the package.json file. The training needs to be updated accordingly.

kapos0 avatar Nov 27 '24 23:11 kapos0