[ Troubleshooting ] The Angular CLI requires a minimum Node.js version of either v10.13 or v12.0

Last update March 8, 2023 at 01:48 am

How to resolve the error The Angular CLI requires a minimum Node.js version of either v10.13 or v12.0.


Membership: This article contains affiliate links. This means that for every purchase you make through these links, a portion will be returned to us by the seller(s). 

If you ever buy through one of our links, then THANKSIIIIII. This contribution will allow us to maintain TediDev longer with better content.


You are creating an angular project under a linux type debian for the first time and you find this error “The Angular CLI requires a minimum Node.js version of either v10.13 or v12.0. “. What to do ?

In this kind of situation we quickly understand that it suffices to update our node js. The problem is that sometimes we encounter unforeseen events. This is what happened to us with our ubuntu 16.04 LTS and to fix it, we offer you our solution.

To update Nodejs via the linux terminal

Our preferred but not mandatory solution is the use of the terminal. To solve it you have to:

  • Clean your npm cache: npm cache clean -f
  • launch the installation of the latest stable version of node: sudo npm install -gn (continue even if you see errors. this is what we did)
  • type the command: sudo n stable (this worked for us)
  • check the version of your node js with the command: node -v.

You can resume building your Angular application where it failed. The second point might not be needed for updating node but we couldn't check to be sure.

The second method for the curious would be to download node's tar.gz to install it manually. To do this you have to go to the site of nodejs.

Leave comments

Your email address will not be published. Required fields are marked with *

11 - 10 =