starter
starter copied to clipboard
Not able to send verification emails in development
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
I'm not able to reproduce this.
Maybe it's a dependency issue. Try using yarn to install the versions in the lockfile.
Will try to re-install modules with yarn and updating this.
I recloned the repository on master branch used yarn to install the modules but same issue occurs, what version of node are you running?
Node v14.11 running Graphile Starter from the main
branch.
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.
Presumably that means there's an issue between you and ethereal.email, perhaps a firewall or similar?
it looks like other people are seeing the same or a similar issue https://github.com/nodemailer/nodemailer/issues/1096#issuecomment-1060148585
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.
Feel free to switch it out for an alternative nodemailer transport, I believe they have a test one that could be suitable