Hi there,
I've been trying to deploy to Heroku and am hitting a snag - at appears nodemailer cannot be found. Are there specific directions on Heroku deployment? I'm guessing it's something that I'm missing...
Here's the error I'm getting, thanks!
heroku[web.1]: State changed from crashed to starting
heroku[web.1]: Starting process with command `node server.js`
app[web.1]: Detected 512 MB available memory, 512 MB limit per process (WEB_MEMORY)
app[web.1]: Recommending WEB_CONCURRENCY=1
app[web.1]: module.js:338
app[web.1]: ^
app[web.1]: throw err;
app[web.1]: at Object.Module._extensions..js (module.js:478:10)
app[web.1]: at Module.require (module.js:365:17)
app[web.1]: Error: Cannot find module 'nodemailer'
app[web.1]: at Module._compile (module.js:460:26)
app[web.1]: at Function.Module._resolveFilename (module.js:336:15)
app[web.1]: at Function.Module._load (module.js:278:25)
app[web.1]: at Module.load (module.js:355:32)
app[web.1]: at Module.require (module.js:365:17)
app[web.1]: at require (module.js:384:17)
app[web.1]: at Object.<anonymous> (/app/lib/mailer.js:2:18)
app[web.1]: at Function.Module._load (module.js:310:12)
app[web.1]: at require (module.js:384:17)
heroku[web.1]: State changed from starting to crashed
heroku[web.1]: Process exited with status 1