You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Node]: [ReferenceError: XMLHttpRequest is not defined] #113
We're getting [ReferenceError: XMLHttpRequest is not defined] and no logs flushed when trying to use @logtail/node. Why is logtail attempting to use XMLHttpRequest?
Hi @sannajammeh, sorry for not updating on the issue here - the cross-fetch has been removed from dependencies in v0.5.4 already, and this is a complete non-issue in the later versions.
Activity
sannajammeh commentedon May 3, 2024
You should bump cross-fetch to v4 which fixes this issue.
curusarn commentedon May 3, 2024
Hey @sannajammeh,
Thanks a lot for raising this!
I'm passing it on to the team. We'll get it fixed soon. We'll keep you updated here on GitHub.
Thank you for reaching out.
PetrHeinz commentedon Sep 21, 2026
Hi @sannajammeh, sorry for not updating on the issue here - the cross-fetch has been removed from dependencies in v0.5.4 already, and this is a complete non-issue in the later versions.