bulk-mail-cli icon indicating copy to clipboard operation
bulk-mail-cli copied to clipboard

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

Open loketi opened this issue 3 years ago • 2 comments

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.

loketi avatar Mar 28 '22 15:03 loketi

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

kumarabhirup avatar Mar 28 '22 17:03 kumarabhirup

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?

loketi avatar Mar 29 '22 15:03 loketi