Ionic 5 React - ionic serve fails

Try uninstalling the ionic and node and then reinstall.