Skip to content

Not able to send verification emails in development #250

Open

Description

@kuttim

When I log in to account, go to settings and press resend verification it seems to be hanging on console side and Parser being undefined, am I doing something wrong?
Here's a error log:

(RUN) @app/worker: [worker(worker-412045df0ac99677b2)] ERROR: Failed task 13 (send_email) with error Cannot read property 'Parser' of undefined (2.18ms):
(RUN) @app/worker:   TypeError: Cannot read property 'Parser' of undefined

Activity

  1. benjie commented on Feb 22, 2021

    @benjie
    Member

    I'm not able to reproduce this.

    Screenshot_20210222_110313

  2. benjie commented on Feb 22, 2021

    @benjie
    Member

    Maybe it's a dependency issue. Try using yarn to install the versions in the lockfile.

  3. kuttim commented on Feb 22, 2021

    @kuttim
    Author

    Will try to re-install modules with yarn and updating this.

  4. kuttim commented on Feb 22, 2021

    @kuttim
    Author

    I recloned the repository on master branch used yarn to install the modules but same issue occurs, what version of node are you running?

  5. benjie commented on Feb 22, 2021

    @benjie
    Member

    Node v14.11 running Graphile Starter from the main branch.

  6. ryanblakeley commented on Mar 6, 2022

    @ryanblakeley

    i'm not getting the same error as OP re: TypeError: Cannot read property 'Parser' of undefined ; but cloning the repo and running without any changes, the send_email task does seem to fail. i'm using node v14.18. everything else seems to be working otherwise.

    image

  7. benjie commented on Mar 7, 2022

    @benjie
    Member

    Presumably that means there's an issue between you and ethereal.email, perhaps a firewall or similar?

  8. ryanblakeley commented on Mar 7, 2022

    @ryanblakeley

    it looks like other people are seeing the same or a similar issue nodemailer/nodemailer#1096 (comment)

    i hadn't heard of ethereal, but i like the idea. i can send an email to my ethereal address from macOS mail, gmail in the browser, and from a random production web app. even though their service status site is not available, it appears to work with those email senders. maybe it's an issue with nodemailer or something about running it locally.

  9. benjie commented on Mar 7, 2022

    @benjie
    Member

    Feel free to switch it out for an alternative nodemailer transport, I believe they have a test one that could be suitable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions