Relative Content

Tag Archive for reactjsreact-nativeexpo

sceneContainerStyle in React Native, Expo Not working

sceneContainerStyle in React Native, Expo Not working
In New Expo 52 It is not working:
Type ‘{ children: Element[]; screenOptions: { headerShown: false; tabBarHideOnKeyboard: true; tabBarActiveTintColor: string; tabBarInactiveTintColor: string; tabBarLabelStyle: { fontFamily: string; fontSize: number; paddingBottom: number; textTransform: “capitalize”; }; tabBarStyle: { …; }; sceneStyle: { …; }; }; scen…’ is not assignable to type ‘IntrinsicAttributes & Omit<Omit<(DefaultNavigatorOptions<ParamListBase, string | undefined, TabNavigationState, BottomTabNavigationOptions, BottomTabNavigationEventMap, BottomTabNavigationProp<…>> & DefaultRouterOptions<…>) & { …; } & BottomTabNavigationConfig, “children” | … 6 more … | “UNS…’.
Property ‘sceneContainerStyle’ does not exist on type ‘IntrinsicAttributes & Omit<Omit<(DefaultNavigatorOptions<ParamListBase, string | undefined, TabNavigationState, BottomTabNavigationOptions, BottomTabNavigationEventMap, BottomTabNavigationProp<…>> & DefaultRouterOptions<…>) & { …; } & BottomTabNavigationConfig, “children” | … 6 more … | “UNS…’.ts(2322)

“DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative ins

npx expo start -c
Starting project at /home/user/Desktop/react-native/aroa
(node:31645) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
(node:31645) [DEP0044] DeprecationWarning: The util.isArray API is deprecated. Please use Array.isArray() instead.
Starting Metro Bundler
warning: Bundler cache is empty, rebuilding (this may take a minute)
(node:31645) Warning: To load an ES module, set “type”: “module” in the package.json or use the .mjs extension.
(node:31645) Warning: To load an ES module, set “type”: “module” in the package.json or use the .mjs extension.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █ ██▀▀█▀▄▀█ ▄▄▄▄▄ █
█ █ █ █ ▀█ ▀█ ██ █ █ █
█ █▄▄▄█ █▀ █▄▀▀▄▀█ █▄▄▄█ █
█▄▄▄▄▄▄▄█▄█ ▀▄█▄▀ █▄▄▄▄▄▄▄█
█▄ ▀▀ ▄▀██▄█▄▀▄ ▄▀█ ▀▄▄ ▄█
██▄▀ ▀▄█▀ ▄█▀██▄▄ ▀▀ ▀██
█▀█▀▄▀▄▄█▄▀▀▄▀█▄ █▀▄ ▀▄ ▀██
█████▄▄▄ ▄█ ▄██ ███ ▀███
█▄▄█▄█▄▄█▀▀▄█▄▀▄▀ ▄▄▄ ▀ ▄▄█
█ ▄▄▄▄▄ █▀▀ █▀█▀▀ █▄█ ▀▀▀▀█
█ █ █ █▄▀ ▄▀▄ ▀ ▄ ▄▄▀ █
█ █▄▄▄█ █▀ ▄ ▄ ▄▄▄▄ ▀█▀▀ ██
█▄▄▄▄▄▄▄█▄███▄▄█████▄▄▄▄▄▄█

Expo app not starting when updating to latest version of expo sdk

I was working on a project made from react-native-expo it was all working fine but one day when I tried to open it using expo go app it did not started instead it showed me warning on a blue screen that ” SDK version is updated to 51 and expo go now uses SDK 51 so you should either install SDK 50 version of expo go or update your project to the latest version of expo ” then I updated my project to the latest version after it started giving me error ” main has not been registered and resizeMode is not defined ” I tried to fix it about 2 to 3 days but it was not fixed then what it did is that i deleted the node_modules and package_lock.json file and ran npm install in my project and started it then all the errors were removed but now when i am starting my project it is not starting instead it is just showing a blue screen where it is written “Network response timed out ” or “Sorry about that you can go back to expo home or try to reload the project ” i tried every thing that i can to fix this but it is not working can you tell how can i fix it please