Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mailer error #65

Open
daton89 opened this issue Apr 12, 2018 · 0 comments
Open

mailer error #65

daton89 opened this issue Apr 12, 2018 · 0 comments

Comments

@daton89
Copy link

daton89 commented Apr 12, 2018

after install swig with npm i -S swig i got this error

➜  stripe-recurring-membership git:(master) ✗ npm start

> repo-repo@1.0.0 start /Users/tony/Workspace/stripe-recurring-membership
> node server.js

/Users/tony/Workspace/stripe-recurring-membership/node_modules/nodemailer/lib/mailer/index.js:45
        this.transporter.mailer = this;
                                ^

TypeError: Cannot set property 'mailer' of undefined
    at new Mail (/Users/tony/Workspace/stripe-recurring-membership/node_modules/nodemailer/lib/mailer/index.js:45:33)
    at Object.module.exports.createTransport (/Users/tony/Workspace/stripe-recurring-membership/node_modules/nodemailer/lib/nodemailer.js:52:14)
    at Object.<anonymous> (/Users/tony/Workspace/stripe-recurring-membership/server/middleware/email-helper.js:10:34)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/tony/Workspace/stripe-recurring-membership/server/controllers/passwords-controller.js:10:28)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! repo-repo@1.0.0 start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the repo-repo@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant