Below is the error I’m facing. Can anyone help in resolving it?
I want to run it without any errors.
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.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄▄▄▄ █ ██▀▀█▀▄▀█ ▄▄▄▄▄ █
█ █ █ █ ▀█ ▀█ ██ █ █ █
█ █▄▄▄█ █▀ █▄▀▀▄▀█ █▄▄▄█ █
█▄▄▄▄▄▄▄█▄█ ▀▄█▄▀ █▄▄▄▄▄▄▄█
█▄ ▀▀ ▄▀██▄█▄▀▄ ▄▀█ ▀▄▄ ▄█
██▄▀ ▀▄█▀ ▄█▀██▄▄ ▀▀ ▀██
█▀█▀▄▀▄▄█▄▀▀▄▀█▄ █▀▄ ▀▄ ▀██
█████▄▄▄ ▄█ ▄██ ███ ▀███
█▄▄█▄█▄▄█▀▀▄█▄▀▄▀ ▄▄▄ ▀ ▄▄█
█ ▄▄▄▄▄ █▀▀ █▀█▀▀ █▄█ ▀▀▀▀█
█ █ █ █▄▀ ▄▀▄ ▀ ▄ ▄▄▀ █
█ █▄▄▄█ █▀ ▄ ▄ ▄▄▄▄ ▀█▀▀ ██
█▄▄▄▄▄▄▄█▄███▄▄█████▄▄▄▄▄▄█
› Metro waiting on exp://10.20.30.95:8081
› Scan the QR code above with Expo Go (Android) or the
Camera app (iOS)
› Web is waiting on http://localhost:8081
› Using Expo Go
› Press s │ switch to development build
› Press a │ open Android
› Press w │ open web
› Press j │ open debugger
› Press r │ reload app
› Press m │ toggle menu
› Press o │ open project code in your editor
› Press ? │ show all commands
Logs for your project will appear below. Press Ctrl+C to exit.
2
Answers
There’s little you can do right now – the ecosystem has modules that depend on
punycode
which will be deprecated sometime in the future. (As the message says, you can run with--trace-deprecation
to see which module(s) are the culprit(s).)For the time being, ignore that warning – it is not an error, and is not a cause for concern.
its not a big thing just ignore it, it won’t cause any issues it’s a internal expo thing and deprecated means just an older unsupported version so it would still work as expected, no worries!