80
rated 0 times
[
83]
[
3]
/ answers: 1 / hits: 65663
/ 11 Years ago, thu, february 6, 2014, 12:00:00
I have mail configuration code in all.js
.
Now i am trying to import this in my mail.js
service, so i imported the config
module as follows :-
mail.js
config = require('config'),
all.js
mailer: {
auth: {
user: XXXXXXX,
pass: abc@123
}
}
Gives me error cannot find module, but the module exists i have checked it.
How to solve this?
More From » node.js