mailjet / mailjet-apiv3-nodejs

[API v3] Official Mailjet API v3 NodeJS wrapper
https://dev.mailjet.com
MIT License
232 stars 67 forks source link

TypeError: mailjet.connect is not a function #231

Closed archie-bryann closed 1 year ago

archie-bryann commented 1 year ago

I get this error while trying to verify sending using mailjet. `mailjet.connect( ^

TypeError: mailjet.connect is not a function at Object. (C:\Users\ekomb\OneDrive\Documents\xxxxxxxxxxx\test\mailjet.js:3:9) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) at internal/main/run_main_module.js:17:47`

Please how can this be fixed, thanks?