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
Looks like the issue is linked to browser: true rollup config option. This will result in axios dependency to be built based on assumption it is used in the browser only - with xhr always used as the adaptor
Issue Summary
XMLHttpRequest is not defined in Netlify Functions
To Reproduce
I think
@tryghost/content-api
uses axios to send AJAX requests. Axios depends heavily on XMLHttpRequest for its functioning.Possible alternatives can be https://github.com/developit/redaxios
Technical details:
The text was updated successfully, but these errors were encountered: