Good article, very straightforward to follow it and learn main concepts.
Just one extra comment, when installing nodemailer it should be npm i nodemailer --save otherwise the function will fail because the lib will be missing.
Hey Victor! Thanks for checking out the article. You may be using an older version of npm. Since 2019 the --save flag is no longer required: docs.npmjs.com/cli/v7/commands/npm...
Good article, very straightforward to follow it and learn main concepts.
Just one extra comment, when installing nodemailer it should be
npm i nodemailer --save
otherwise the function will fail because the lib will be missing.Hey Victor! Thanks for checking out the article. You may be using an older version of npm. Since 2019 the --save flag is no longer required: docs.npmjs.com/cli/v7/commands/npm...
Interesting, I didn't know about that but anyway my npm version is v7.19.1 so no idea the reason would be. But thanks anyway for your quick response.
Hoping to see the next article soon :)