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.
- GOOD DEAL: -21% on Apple iPhone 14 (128 GB) – Midnight
- Anime Welcome to Demon School! Iruma-kun – recommendation
- Good plan: -52% on the SanDisk 128 GB card for Nintendo Switch
- Granblue Fantasy Relink will be released this year 2023 – Trailer
- GOOD PLAN: – 29% on pre-order of Zelda tears of kingdom
- List of 20+ Best Games (Online) When Bored
- Valkyrie apocalypse ost – All the music that set the mood for the anime
- Phantasy Star Online 2 New Genesis | Nintendo Switch, Ps4, Xbox One, Ps Vita, Android, PC (steam, epicgames), iOS, Xbox Series
- Hell's Paradise (Jigokuraku) anime will be released in April 2023 – Official Trailer
- 5 Alternative opensource software to FL Studio
- Zelda Tears of the kingdom – story + gameplay – trailer 2
- TEKKEN 8 initial release date – first trailer | Ps5, Xbox Series, PC