I’m trying to send an email with SendGrid based on the Monde des Chefs tutorial.
My send_email api produces the Debug error “Cannot find module ‘nodemailer’ …”
I checked the project ‘package.json’ for the nodemailer in dependencies and it’s there: “nodemailer”: “^6.7.1”
All the files mentioned in the error report e.g. lib/modules/mail.js etc. are in the project folder and the correct sub-folders.
Can anyone point me in the right direction please?