centra icon indicating copy to clipboard operation
centra copied to clipboard

TypeError: URL is not a constructor occurs when using React

Open julianYaman opened this issue 4 years ago • 0 comments

We tried using centra for our HTTP requests in a React application but then a TypeError occurs and we cannot make any request.

I already saw there was a similar issue but with browserify. Is there maybe any connection with fixing the error?

grafik

What we use: node - v14.15.3 centra - 2.4.2 react - 17.0.1

julianYaman avatar Jan 25 '21 00:01 julianYaman