Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I think it's an issue with old version of got #19

Closed
xd-luke opened this issue May 3, 2021 · 1 comment
Closed

I think it's an issue with old version of got #19

xd-luke opened this issue May 3, 2021 · 1 comment

Comments

@xd-luke
Copy link

xd-luke commented May 3, 2021

Hello,

I think I'm experiencing an issues with the old version of got in this library:

TypeError: URL is not a constructor
at normalize (normalize-arguments.js?9801:124)
at got (create.js?4b17:32)
at Function.got. [as get] (create.js?4b17:64)
at eval (index.js?5442:26)
at run (index.js?6520:249)
at PQueue._tryToStartAnother (index.js?6520:197)
at eval (index.js?6520:263)
at new Promise ()
at PQueue.add (index.js?6520:244)
at queuedGet (index.js?5442:26)

Can you please advise a path to work around this? Thank you.

@mrhyde
Copy link
Member

mrhyde commented May 3, 2021

Looks like you are trying to use this library in front-end project, unfortunately at this moment its node only, because of security concerns :/

@mrhyde mrhyde closed this as completed Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants