Crashing when attempting to send
See original GitHub issueI’m getting a crash when I attempt to send the file. I’ve attempted to send via a manually defined SMTP and direct to MX and I get this error
restify listening at http://[::]:5000
14:50:47.200Z INFO youtransfer: Disabled cleanup schedule
14:50:57.980Z INFO youtransfer: Disabled cleanup schedule
/root/YouTransfer/node_modules/nodemailer/lib/mailer/index.js:45
this.transporter.mailer = this;
^
TypeError: Cannot set property 'mailer' of undefined
at new Mail (/root/YouTransfer/node_modules/nodemailer/lib/mailer/index.js:45:33)
at Object.module.exports.createTransport (/root/YouTransfer/node_modules/nodemailer/lib/nodemailer.js:52:14)
at /root/YouTransfer/lib/youtransfer.js:83:34
at /root/YouTransfer/lib/settings.js:93:4
at NodeCache.module.exports.NodeCache.get (/root/YouTransfer/node_modules/node-cache/lib/node_cache.js:101:11)
at NodeCache.get (/root/YouTransfer/node_modules/node-cache/lib/node_cache.js:12:59)
at Settings.get (/root/YouTransfer/lib/settings.js:65:13)
at Object.get (/root/YouTransfer/lib/youtransfer.js:82:18)
at /root/YouTransfer/lib/youtransfer.js:284:28
at /root/YouTransfer/node_modules/nunjucks/src/environment.js:23:23
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! youtransfer@1.1.0 start: `gulp clean && gulp dist && node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the youtransfer@1.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-09-05T14_51_23_128Z-debug.log
Can anyone help?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Outlook crashes when sending emails with nonexistent ...
This problem occurs when you are using a POP3 email account, and the default delivery location for this account references a nonexistent folder....
Read more >Fix: Outlook Intermittently Crashes While Composing Email or ...
Method 1: Switch to Safe Mode ... To investigate possible add-in issues, try opening Outlook in safe mode. Follow these steps: ... If...
Read more >Fix Outlook crashes when sending an email - The Windows Club
If Outlook crashes on your system, you should try to troubleshoot it in the Safe Mode. This will help you identify the faulty...
Read more >Outlook Crashes on Send & Receive in Outlook 2016, 2013 ...
Manual Methods to Fix “Outlook Crashes on Send/ Receive” · 1. Change Send/Receive Settings · 2. Turn off Antivirus Program Scanner · 3....
Read more >Fix Outlook Crashes When Replying to Email
Why does Outlook crash while replying to an email? · Go to the Control Panel and click on the Mail option. · Now,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the meantime, I managed to make it work by replacing line 83 in file
lib/youtransfer.js
: Replace:var transporter = nodemailer.createTransport();
with:var transporter = null;
It worked for me. The nodemailer API has changed.Unfortunately not, I’ve had to put a hold on my project for a while but will likely be able to do some more work on it in November.
On Wed, Oct 3, 2018 at 1:32 PM LouBNielsen notifications@github.com wrote:
–
Amar