Use Ionic v3 with node 8.17


I am trying to build an old ionic v3 project with the following specifications :

node : 8.17.0 
npm : 6.4.1  
Ionic CLI : 5.4.5  
Ionic Framework : ionic-angular 3.9.9  
@ionic/app-scripts : 3.2.4  
Cordova CLI : 9.0.0  
Cordova Platforms : android 8.1.0, ios 5.0.1  
cordova-res : 0.6.0   
Xcode             : 11.0 Build version 11A420a  
OS                : macOS Mojave  
ios-deploy        : 1.9.4  
ios-sim           : 8.0.2  
Android SDK Tools : 26.1.1

So I used nvm to install the right node version then I installed the ionic version with npm install ionic@5.4.5

But when I try to run any ionic command like ionic info I have the following issue

ERR: Your Node.js version is v8.17.0. Node.js 8 reached end-of-life on 2019-12-31 and is no longer supported. Please update to the latest Node LTS version.

What is odd is that I already success a few weeks ago to serve the project and I can’t anymore I don’t know why.

Does anyone had a similar issue ? Is there a way to bypass this error ?

Thanks a lot

Install nvm and use it to manage your node versions. Always use the most recent LTS version with Ionic development, which is 14.15.5 at the time of writing.

1 Like