What could be the reason?
here is my package.json
{
// ...
},
"dependencies": {
"@payloadcms/db-mongodb": "beta",
"@payloadcms/next": "beta",
"@payloadcms/plugin-cloud": "beta",
"@payloadcms/plugin-seo": "beta",
"@payloadcms/richtext-lexical": "beta",
"@payloadcms/storage-gcs": "beta",
"@radix-ui/react-slot": "^1.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cross-env": "^7.0.3",
"framer-motion": "12.0.0-alpha.0",
"graphql": "^16.9.0",
"next": "15.0.0-canary.104",
"payload": "beta",
"prism-react-renderer": "^2.3.1",
"react": "19.0.0-rc-06d0b89e-20240801",
"react-dom": "19.0.0-rc-06d0b89e-20240801",
"react-hot-toast": "^2.4.1",
"sharp": "0.32.6",
"tailwind-merge": "^2.5.2",
"usehooks-ts": "^3.1.0"
},
"devDependencies": {
"@types/node": "^20.16.1",
"@types/react": "npm:types-react@19.0.0-rc.0",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-config-next": "15.0.0-canary.104",
"postcss": "^8.4.41",
"tailwindcss": "^3.4.10",
"typescript": "5.5.4"
},
"engines": {
"node": "^18.20.2 || >=20.9.0"
},
"pnpm": {
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.0",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0"
}
},
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.0",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0"
}
}I had a similar issue and it worked when using node 22 instead of 20. Not sure about the root cause though.
Interesting, I'll have a go with the new version and get back to you
sorry for the ping, but how did you do it?
It's not working on my end after I set a new version using pnpm
❯ pnpm env use --global latestI ran that command
to get 22.7.0
bump
i downgraded to node 18.20.2, and it worked
not very happy with this solution though.
For me, it only failed in CI, where I could bump the node version rather easily. Sounds pretty weird though 🤔
yeah
thank you for the help
I am having the same issue, what is causing it?
Star
Discord
online
Get dedicated engineering support directly from the Payload team.