I have a mail configuration code in all.js.
Now I am trying to import this into my service mail.js, so I imported the module configas follows: -
mail.js
config = require('config'),
all.js
mailer: {
auth: {
user: "XXXXXXX",
pass: "abc@123"
}
}

Gives me an error, I canβt find the module, but the module exists, I checked it.
How to solve this?
source
share