HELP! Nodemailer seems to have ruined my app!

nodejs

#1

I was trying to add nodemailer to my app and it didn’t work. I don’t know why. But anyway, I deleted out all the code I had entered for the nodemailer functionality but now my app won’t run at all. I get the following message:

module.js:327
throw err;
^

Error: Cannot find module 'nodemailer’
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/home/ubuntu/workspace/NUFC/NUFC_Blogv1.2/routes/index.js:6:29)
at Module._compile (module.js:409:26)
at Object.Module._extensions…js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/home/ubuntu/workspace/NUFC/NUFC_Blogv1.2/app.js:16:37)
at Module._compile (module.js:409:26)
at Object.Module._extensions…js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)

Would anyone mind taking a look at my workspace to try and see what an earth has happened here?? Seriously depressing stuff!


#2

Panic over! All solved !