kumarabhirup / bulk-mail-cli

Do quick, hassle-free email marketing with this small but very powerful tool! 🔥
https://bulkmail.now.sh
GNU General Public License v3.0
121 stars 24 forks source link

Error after installing bulk-mail-cli on Linux Mint 20.3 Cinnamon #36

Open loketi opened 2 years ago

loketi commented 2 years ago

Hello amazing people! So I've just installed bulk-mail-cli using "npm i -g bulk-mail-cli" and the process completed successfully but then I saw this message at the bottom of the terminal window. Has anyone seen the same? should i worry about it? and how do I fix this? thanks a ton!

The Error Message:

(node:140396) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/shangwe/.nvm/versions/node/v17.6.0/lib/node_modules/bulk-mail-cli/node_modules/simplesmtp/package.json' of './lib/smtp'. Please either fix that or report it to the module author (Use node --trace-deprecation ... to show where the warning was created)

When I use "node --trace-deprecation ...` to trace the warning. I get....

shangwe@shangwe-Inspiron-3542:~$ node --trace-deprecation Welcome to Node.js v17.6.0. Type ".help" for more information.

kumarabhirup commented 2 years ago

Hi @loketi! I think you should downgrade Node to v14, that should make the error go away. Let me know if that works.

loketi commented 2 years ago

Thank you again. I downgraded node to v14.17.3 (LTS) and it's working fine. No error. Btw. is it possible to use SendGrid Web API instead of SMTP relay to send the emails?