#Mismatch in React dependency

8 messages · Page 1 of 1 (latest)

foggy needle
#

Hi, using template website on V3 and I keep getting this message, i've looked online and some people had this issue before but deleting node_module did not help, same with adding "overirides" with the correct React version, but is ignored, anybody knows why ? Thanks

grand hearthBOT
timid moon
#

If you're using npm you may need the --legacy-peer-deps flag

foggy needle
#

thank you @timid moon , the error seems to be gone but now I get this one instead , even if overrides specify the correct version

timid moon
#

Yep, just update email-nodemailer package to 126. As the error says, all packages must be inline with your main payload version

#

Or uninstall it if you're not using the package

foggy needle
#

Thanks again, but it's a dependency, i don't have it directly in my package.json, will try pnpm i @payloadcms/[email protected]