bulk-mail-cli
bulk-mail-cli copied to clipboard
Error after installing bulk-mail-cli on Linux Mint 20.3 Cinnamon
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.
Hi @loketi! I think you should downgrade Node to v14, that should make the error go away. Let me know if that works.
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?