Next.js Discord

Discord Forum

Unable to create a new next.js project (sora)

Answered
Greek Harehound posted this in #help-forum
Open in Discord
Greek HarehoundOP
Every time I create a new next.js project and run it via npm run dev, it fails to run and instantly error. I've tried multiple times with new installs with no success. Does anyone have any idea?

Edit: I also cannot find anyone else with this issue online or how to resolve it.

Log
TypeError: Class extends value undefined is not a constructor or null

7 Replies

Greek HarehoundOP
what is your node.js version?
Greek HarehoundOP
v16.6.0
Answer
I recommend updating it to 18 since it is the LTS version but 16.8 should be enough
Greek HarehoundOP
That seems to have done the trick, thanks! 👍
great! if you have the time, please send the error message in this thread in text format so other people can find it as well :blobthumbsup: