Cannot find module 'nodemailer'

Viewed 23465

I'm using the Zapier Code application, I need to send an email receiving trello parameters, I'm using a javascript encoding along with node.js, but when I try to find the nodemailer module I always get the error that it can not be found.

The error always points to this line of code:

var nodemailer = require ('nodemailer');

5 Answers

Make sure you have a dependency in package.json inside functions Make sure you have a dependency in package.json inside functions

Related