What is the best NODEJS and NPM version for Ionic 3.9.2

Am having issues in Ionic 4.3.1 on my Mac OSX high sierra with many of plugins

especially not able to compile iOS very simple basic ionic template.
but android is just fine

and would like to downgrade ionic to 3.9.2

kindly let me know whats the best version for ionic 3.9.2 of

any help is appreciated. Thanks Again