Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
loketi opened this issue Mar 28, 2022 · 2 comments
Open

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

loketi opened this issue Mar 28, 2022 · 2 comments
Labels
🕷 BUG BUG, BUG, BUGGG!

Comments

@loketi
Copy link

loketi commented Mar 28, 2022

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
Copy link
Owner

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

@kumarabhirup kumarabhirup added the 🕷 BUG BUG, BUG, BUGGG! label Mar 28, 2022
@loketi
Copy link
Author

loketi commented Mar 29, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕷 BUG BUG, BUG, BUGGG!
Projects
None yet
Development

No branches or pull requests

2 participants