#I just downloaded the next js template
1 messages · Page 1 of 1 (latest)
What do you mean? They're asking you to downgrade your nodejs version which could possibly be a fix
you could also try NODE_OPTIONS="--openssl-legacy-provider" npm run dev per the SO thread
Does it work now?
okay bro
I think there might be one issue
Let me explain
my top priority is to use one of the templates from this website
so I downloaded the code template
and ran "npm run dev"
and now after I ran "npm run dev"
it is showing this
error
'next' is not recognized as an internal or external command,
operable program or batch file.
It doesnt look like you ve installed node_modules?
like npm install?
yes
gotcha
alright I just installed node_modules
now running npm run dev
Alright, yeah now that same error appeared
Now I got itt
You didnt downgrade your Node.js version
you can try this first NODE_OPTIONS="--openssl-legacy-provider" npm run dev
but yeah downgrade to 16.x via nvm https://github.com/coreybutler/nvm-windows
Hey man
I downgraded to 16.x via nvm
Everything worked just fine
VS Code terminal was working fine too
Nice, happy to hear that ^^
Yet there popped up one last issue
This is what appeared on my screen, "Internal Server Error"
Did you reinstall node_modules?
Run npm install again?
yes