forwardemail / forwardemail/supertest

My superagent call fails with a TypeError: _superagent.default.catch() is not a function

Open
#695 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14.4k
Forks
782
PR merge metrics
No merged PRs in 30d

Description

I am making a post request using superagent. It fails with following error.

``` TypeError: _superagent.default.post(...).auth(...).set(...).send(...).then(...).catch is not a function ```

I am working on a corporate machine.

But strange thing is same api calls works absolutely fine in "VM's". I don't see above error.

But it fails in local machine with error mentioned above.

Both in VM and local I am at same branch and same commit.

But it only fails in local machine and absolutely works fine in VM's

superagent: ^5.3.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.