Next.js App requires 18.17 Node version, but encountering error with 16.20 Node version. how to resolve #147343
-
Select Topic AreaQuestion BodyWhen i create next js app using cli, an then i type npm run dev You are using Node.js 16.20.2. For Next.js, Node.js version >= v18.17.0 is required. Solve this issue. You are using Node.js 16.20.2. For Next.js, Node.js version >= v18.17.0 is required. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update your Node.js installation to a version that meets or exceeds the required version (18.17.0). You can use a version manager like NVM (Node Version Manager) to easily switch between Node.js versions. Here are the steps to update using NVM: nvm install 18.17.0 npm install again |
Beta Was this translation helpful? Give feedback.
Update your Node.js installation to a version that meets or exceeds the required version (18.17.0). You can use a version manager like NVM (Node Version Manager) to easily switch between Node.js versions. Here are the steps to update using NVM:
nvm install 18.17.0
nvm use 18.17.0
then;
npm install again
npm run dev