typeerror super expression must either be null or a function nextjs
_
- Solution
- If your get this error when you importing any packages (then it'll work for you)
2.In next js 13 app directory is a server component.so simply add 'use client' in top of your file.
_
Top comments (2)
Like a charm
Worked for me. Thank You