forwardemail / email-templates

Create, preview (browser/iOS Simulator), and send custom email templates for Node.js. Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.
https://forwardemail.net/docs/send-emails-with-node-js-javascript
MIT License
3.67k stars 337 forks source link

Missing modules for v3.0 #238

Closed gbourne1 closed 7 years ago

gbourne1 commented 7 years ago

When running the new v3.0 example I get errors because of missing modules: babel-runtime sharp

Adding these two modules fixes the dependencies: npm install --save babel-runtime npm install --save sharp

niftylettuce commented 7 years ago

Will fix this shortly, I already see the culprit and that is https://github.com/ladjs/nodemailer-base64-to-s3

niftylettuce commented 7 years ago

@gbourne1 Can you please try npm install --save email-templates@3.0.2? v3.0.2 should have resolved this. I completely rewrote https://github.com/ladjs/nodemailer-base64-to-s3 to fix this.

niftylettuce commented 7 years ago

Actually, I'm going to just publish v3.0.3 without this package built in. People probably don't need this.

gbourne1 commented 7 years ago

Removed modules: sharp and babel-runtime. Version 3.0.2 looks good. Nice work!

niftylettuce commented 7 years ago

@gbourne1 try v3.0.3 - it has built-in email preview now using https://github.com/niftylettuce/preview-email

gbourne1 commented 7 years ago

Looks good!