I’m using Metronic v9.2.2 (React + TypeScript + Vite) and encountered a dependency conflict when installing with npm:
react-helmet-async@2.0.5 requires React 16/17/18, but the project defaults to React 19.
Using yarn install worked temporarily, but I’m concerned about long-term stability.
Questions:
Is React 19 officially supported in this version?
Will there be an update to react-helmet-async or a recommended workaround?
Are there other known dependency conflicts with React 19 in this template?
Thank you for your guidance!
Hi,
Yes, Metronic v9 uses React 19 officially and you should use "npm install --force" to by-pass React v19 related warnings. The build works perfectly with React 19 without any issue.
Refer:
https://docs.keenthemes.com/metronic-react
https://docs.keenthemes.com/metronic-nextjs
Regards,
Sean