Help getting an old Ionic 1 app up and running

I have started to work on an old codebase using Ionic 1.x. What should I install to get it running?
node, cordova, ionic versions?

right now I am using node 8 LTS and Ionic 1.7.16 with Cordova 8. When I run ionic serve I get this error:

Double check your Cordova CLI install. The project might have a local version of it? You could remove the node modules and run npm i again and see what happens

Thanks I installed the latest Ionic cli and created a version app. Then I took some inspiration from the packages json and know I can run the app in a browser.

Good luck! I am rewriting an Ionic 1 app as we speak. So far, so good. Also switching to Capacitor as well.