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
Here the global axios instance gets mutated, this leads to an ugly error, when another module depends on the axios defaults like the node-slack-sdk does. See this issue for reference.
The error then is TypeError: Cannot convert undefined or null to object at new WebClient (.../node_modules/@slack/web-api/dist/WebClient.js:110:44)
Please advice how to move this from a global mutation to a local mutation so we are compatible with third party modules.