TypeError: (e.adapter || s.adapter) is not a function

I’m trying to run a request with axios & I get the following error when await axios.get(.... Has anyone encounter this problem too?

TypeError: (e.adapter || s.adapter) is not a function

1 Like

Same here with @sengrid/mail. The error is actually different and a lot more complicated when I remove:

node: {fs:'empty'}

from my webpack.config.js. And can be traced back to require('fs') in @sendgrid/mail.