Relative Content

Tag Archive for reactjsreact-nativeexpo

“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

i can not run the code after update to sdk51

Error: ENOENT: no such file or directory, open ‘C:UsersADMINTest_codeInternalBytecode.js’
at Object.readFileSync (node:fs:453:20)
at getCodeFrame (C:UsersADMINTest_codenode_modulesmetrosrcServer.js:868:18)
at Server._symbolicate (C:UsersADMINTest_codenode_modulesmetrosrcServer.js:945:22)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Server._processRequest (C:UsersADMINTest_codenode_modulesmetrosrcServer.js:394:7) {
errno: -4058,
code: ‘ENOENT’,
syscall: ‘open’,
path: ‘C:UsersADMINTest_codeInternalBytecode.js’
}

Reducing Build Time for React Native App on Windows Environment

I’m currently developing a React Native app using Expo on Windows, and I’ve encountered a significant bottleneck in the build process. When I submit the app for building, it takes approximately four hours to complete. I’m seeking advice on improving this build time, preferably by optimizing the local development environment.