Relative Content

Tag Archive for react-nativenpmexponpx

npx expo start and expo start no longer works on my project and even on my pc

only npm start starts my expo project. npx expo start doesnt start my project anymore and expo start gives the error: ExpoMetroConfig.loadAsync is not a function
TypeError: ExpoMetroConfig.loadAsync is not a function
at runMetroDevServerAsync (C:UsersNGESON COMPUTERSAppDataRoamingnpmnode_modulesexpo-clinode_modules@expodev-serversrcMetroDevServer.ts:86:45)
at startDevServerAsync (C:UsersNGESON COMPUTERSAppDataRoamingnpmnode_modulesexpo-clinode_modulesxdlsrcstartstartDevServerAsync.ts:75:77)
at startAsync (C:UsersNGESON COMPUTERSAppDataRoamingnpmnode_modulesexpo-clinode_modulesxdlsrcstartstartAsync.ts:84:41)

React native npx expo run:android

please I dont understand what is going on , I go this error why trying to run ‘npx expo run:android’
i have checked my firewall and nothing is wrong and I have updated all dependencies, packages
please help,[ the complete error log is in the image below, it says network timeout at: https://registry.npmjs.org/expo-template-bare-minimum/-/expo-template-bare-minimum-51.0.27.tgz
] Thanks(https://i.sstatic.net/vVELj3o7.png)