-
Notifications
You must be signed in to change notification settings - Fork 110
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
node 18.x compatibility #275
Comments
A workaround for this is to run |
Seems like this is coming from |
I am getting this as well
|
Interesting, I wonder why they don't just use fetch or axios |
Ky maintainer here. I'd be happy to help debug if someone can provide me with an easy and minimal repro environment so I don't want to have to set up a Mailgun API key, etc. What I can say right now is that if this problem is indeed related to Node 18 and its newly implemented EDIT: I will spend time on this when Mailgun wants to use Ky again. |
Hello @sholladay - thank you for noticing this issue thread 🙏 🙏 🙏 🙏 Adding support for Node 18.x would be amazing thank you |
Hello I like the idea of switching to Axios usage instead of ky. @sholladay, thank you for your attention on this issue. There is one more issue that you may be interested to take a look at. |
@sholladay , you can try this code to reproduce an error: https://github.com/epaminond/mailgun-error-repro |
Fix #275 - Replaced ky http client with axios
Same code that runs fine on node 16.x (basic
mg.messages.create
) fails on node 18.x with following errornode: 18.1.0
mailgun.js: 6.0.1
The text was updated successfully, but these errors were encountered: