Server Error
TypeError: 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\.pnpm\@babel+runtime@7.24.4\node_modules\@babel\runtime\helpers\inherits.js (4:1)
eval
node_modules\.pnpm\react-nice-avatar@1.5.0_react@18.2.0\node_modules\react-nice-avatar\dist\index.esm.js (1:49315)
eval
node_modules\.pnpm\react-nice-avatar@1.5.0_react@18.2.0\node_modules\react-nice-avatar\dist\index.esm.js (1:50773)
(rsc)/./node_modules/.pnpm/react-nice-avatar@1.5.0_react@18.2.0/node_modules/react-nice-avatar/dist/index.esm.js
Using with next.js v14 with app router, in server component do:
got error:
Maybe need to look at this code? https://github.com/dapi-labs/react-nice-avatar/blob/e43d9e47d87d5dcf1337eca64fef7e51f0a5409c/src/index.tsx#L19