#You are using Node.js 18.7.0. For Next.js, Node.js version >= v18.17.0 is required.
8 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
you are using 18.7.0, this version of Next.js requires at least 18.17.0. notice your minor version is 7 and not 17
This question has been marked as answered! If you have any other questions, feel free to create another post
[Click here](#1214711182288756789 message)
One more small thing:
root@localhost:/usr/local/openresty/nginx/nextjs# n stable
installing : node-v20.11.1
mkdir : /usr/local/n/versions/node/20.11.1
fetch : https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.xz
copying : node/20.11.1
installed : v20.11.1 to /usr/local/bin/node
active : v18.7.0 at /usr/bin/node
How do i set the active version to the locally installed one?
I think you are using https://github.com/tj/n to manage the Node.js installation? it looks like it always use the latest installed version, so if you restart this shell it might be already using v20