School Management System Dashboard using Next.js and Tailwindcss
2
stars
0
forks
source link
I was using 'SimpleRadialBarChart' for my Next.js project from rechart library. But the this 'Super expression must either be null or a function,' occurs in browser when I try to run my app. #1
Server Error Error: Super expression must either be null or a function
This error happened while generating the page. Any console logs will be displayed in the terminal window. Call Stack _inherits node_modules\recharts\es6\component\TooltipBoundingBox.js (12:113) _inherits node_modules\recharts\es6\component\TooltipBoundingBox.js (53:3) PureComponent node_modules\recharts\es6\component\TooltipBoundingBox.js (156:3) (rsc)/./node_modules/recharts/es6/component/TooltipBoundingBox.js file:///D:/My%20Projects/Next%20JS/School%20Management%20System/frontend/.next/server/vendor-chunks/recharts.js (210:1) Next.js eval /./node_modules/recharts/es6/component/Tooltip.js (rsc)/./node_modules/recharts/es6/component/Tooltip.js file:///D:/My%20Projects/Next%20JS/School%20Management%20System/frontend/.next/server/vendor-chunks/recharts.js (200:1) Next.js eval /./node_modules/recharts/es6/chart/generateCategoricalChart.js (rsc)/./node_modules/recharts/es6/chart/generateCategoricalChart.js file:///D:/My%20Projects/Next%20JS/School%20Management%20System/frontend/.next/server/vendor-chunks/recharts.js (100:1) Next.js eval /./node_modules/recharts/es6/chart/RadialBarChart.js (rsc)/./node_modules/recharts/es6/chart/RadialBarChart.js file:///D:/My%20Projects/Next%20JS/School%20Management%20System/frontend/.next/server/vendor-chunks/recharts.js (90:1) Next.js eval /./src/components/CountChart.tsx (rsc)/./src/components/CountChart.tsx file:///D:/My%20Projects/Next%20JS/School%20Management%20System/frontend/.next/server/app/dashboard/admin/page.js (183:1) Next.js eval /./src/app/dashboard/admin/page.tsx (rsc)/./src/app/dashboard/admin/page.tsx file:///D:/My%20Projects/Next%20JS/School%20Management%20System/frontend/.next/server/app/dashboard/admin/page.js (150:1) Next.js