v13.5.1 TypeError: Class constructor default cannot be invoked without 'new'
Unanswered
Alaskan Husky posted this in #help-forum
Alaskan HuskyOP
Hi there! After upgrading to v13.5.1, I started getting the following error.
I have a mix of pages under app/ and pages/ folders. The errors refer to ones in the pages/ folder.
Has anyone seen this?
I have a mix of pages under app/ and pages/ folders. The errors refer to ones in the pages/ folder.
Has anyone seen this?
1 Reply
Alaskan HuskyOP
I just found out the error:
- export default class Document {
+ export default function Document() {
- export default class Document {
+ export default function Document() {