New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Class extends value undefined is not a constructor or null #35
Comments
Is your code identical to the working examples here? |
I had added more modules but recreating package-lock.json and node_modules fixed my problem and I was able to deploy to Vercel |
i have a problem like this too error - Error [TypeError]: Class extends value undefined is not a constructor or null |
same, happening after upgraded to next 13 |
Upgrading node fixes this. Check: vercel/next.js#42729 |
Updating Node version didn't work for me, I had to remove next 13 |
@maniatoffl It seems you need to use node v16.4 at least in order to use a middleware.ts file as I did. |
When building I'm getting the following error with latest packages and node v16.2.0 (npm v7.13.0)
TypeError: Class extends value undefined is not a constructor or null
at Object.618 (/home/mwoodpatrick/projects/git/www/nextjs-wp/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:100)
at nccwpck_require (/home/mwoodpatrick/projects/git/www/nextjs-wp/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:11843)
at Object.270 (/home/mwoodpatrick/projects/git/www/nextjs-wp/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:413)
at nccwpck_require (/home/mwoodpatrick/projects/git/www/nextjs-wp/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:11843)
The text was updated successfully, but these errors were encountered: