[3.x] React Native: Creating URL objects is not supported yet.
See original GitHub issueThis may be more of a react native issue than normalize-url
, but the new 3.x package is not compatible with React Native. I’m getting the follow error:
Is there a way to use a fallback to make this work, or do I need to just downgrade the package on native?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Creating an instance of URL like: `new URL('http ... - GitHub
We use URL to parse URLs and extract information about the hostname, ... ReactNative: Error: Creating URL objects is not supported yet.
Read more >React native unsupported url (IOS) - Stack Overflow
My URI was working on Android but not IOS with an expo library. I spent days on it, trying a dozen things with...
Read more >Troubleshooting - React Native
If you added React Native manually to your project, make sure you have included all the relevant dependencies that you are using, like...
Read more >Invalid Hook Call Warning - React
There are three common reasons you might be seeing it: You might have mismatching versions of React and React DOM. You might be...
Read more >Configuring links | React Navigation
It's not possible to pass params to the initial screen through the URL. So make sure that your initial route doesn't need any...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This module is for Node.js. It’s up to you to figure out how to make it work in other environments. Probably easiest to just downgrade.
got the same error on react native while working with web3 socket URL