The build is not running after updating expo-cli

After a long time trying many different things someone shared with me a solution in expo cli’s github which is installing the version 3.5.0 of expo cli. I had tried versions 3.8.X, 3.4.1, 3.3.X, and none of these had worked.