Unable to create a new next.js project (sora)
Answered
Greek Harehound posted this in #help-forum
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
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 nullAnswered by Rafael Almeida
try updating to at least 16.8 (https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration#nodejs-version)
7 Replies
Greek HarehoundOP
what is your node.js version?
Greek HarehoundOP
v16.6.0
try updating to at least 16.8 (https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration#nodejs-version)
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 
