Tuesday, 4 April 2017

require('nodemailer') causing deployment on Openshift to fail

I am trying to integrate Zoho mail with noejs application using nodemailer. I am able to do so locally and mails getting sent. But when I tried to push the same code to Openshift, it is failing with error port 8080 is not available to deploy.

I tried different combinations to find out the reason for that and as soon as I removed var nodemailer = require('nodemailer');, the application gets deployed. Dependency in package.json {"nodemailer": "^3.0.2"}

Anyone else faced the similar issues. It is really urgent.



via Anurag Dwivedi

No comments:

Post a Comment