I ran into a similar issue after upgrading Recharts recently. In my case, clearing the .next cache and reinstalling dependencies fixed some of the compilation errors:
rm -rf .next node_modules
npm install
If the sidebar issue still happens, try downgrading Recharts to the last stable version that worked (for me, v2.14.x was fine) and check if the error persists — that can help narrow down if it’s a compatibility issue with Metronic’s current build.
Hi,
We will provide Recharts 3.x migration for reui.io and Metronic soon. Please wait for our official migration as the new Recharts 3.x instructed major breaking changes.
Regards,
Sean
As a temporary solution I added this => <SheetPrimitive.Title />
in components\ui\sheet.tsx
Noted, on this,we will fix it in the next update for sure.