-
Notifications
You must be signed in to change notification settings - Fork 3
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
FakeYouError: The FakeYouAPI is not available #2
Comments
I'm actually using it on Node.js and this issue is affecting me too. Hope they can fix it soon |
When requesting with pure JS, It gives a CORS error, But the error handler on the wrapper just responds with an API error, So the issue with CORS, But in NodeJS, I should work perfectly fine, For me. |
The error is being thrown from here. You can see there's no try/catch around this async block so node gets a fatal error if something is thrown inside of |
That's true, I guess the node version can define if the error is there or not, For me, I can use the npm package just fine, With no changes to the actual code structure, Let me know if you're still facing this problem maybe I could help in any shape or form. |
You think using fakeyou.js in pure JS for HTML Would cause this? Cause it's made for NodeJS and maybe CORS headers would affect or something...
The text was updated successfully, but these errors were encountered: