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)
i tried to start my project with npx expo start and i expected my project to start normally but it doesnt start with expo start or npx expo start anymore. expo start returnd 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)
npx expo start doesnt return any error but doesnt start the server.