Open sabbir-hossain opened 7 years ago
This looks like it's Angular? Or at least client-side in browser judging by webpack
in path? This module is meant to be used from server side within Node.js environment. Not within browser.
I am sorry, but it is not Angular
project. Ofcourse I am using mailgun-js
for server side with Node.js environment. I am using webpack
to compile typescript
into js
.
I have the following error in my project.
And my answer of the following question:
1) What version of the module is the issue happening on? Does the issue happen on latest version? ans:
"mailgun-js": "^0.13.1"
2) What platform and Node.js version? (For example Node.js 6.9.1 on Mac OS X) ans:
v6.11.0
onLinux
andv6.6.0
onMac OS X
3) Does the action work when you manually perform request against mailgun using curl (or other means)? ans: I can send mail using demo
node.js
project. But same code is not working on my project where I'm usingtypescript
4) Sample source code or steps to reproduce
My
package.json
file: