Sorry to hear that, it sounds like you will need to restore your forum from backup
Almost every plugin I installed got this error after rebuild and restart.
Any idea to resolve this?
@seanssoh what other plugins besides the one you showed? What version of NodeBB are you on?
@pitaj I cloned Nodebb V1.16.2
nodebb-plugin-emailer-ses also got the same error.
@seanssoh please share the output of
I cloned with the command below.
@seanssoh can you try the
v1.16.x branch instead?
Never mind, it won't make a difference. The plugin is not working because it uses
module.parent.require instead of
@pitaj What else can I do to resolve this issue?
Is there no way to use them?
@pitaj and if it's unable to run emailer-ses, how can I set up amazon ses on nodebb to send the verification email to new users?
The first plugin is fixed for nodebb 1.16.0 and up
@seanssoh have you tried the built-in SMTP support?
@pitaj I did. I selected SES on the list then put my SES id and pw. it was not working. so I thought I need a plugin for this feature.
@baris Thanks! I will try with that version.
@seanssoh you need to make sure you have the SMTP transport enabled, and you need to make sure you don't have any emailer plugins enabled. Also try restarting NodeBB and tell me what you see when you send a test email.
emailer-ses plugin is also fixed and published to npm https://github.com/chollis/nodebb-plugin-emailer-ses/commit/e02e4ff34f3a7327f072a7bf7f17e8bde3c2d94c
@pitaj I uninstalled the other emailer plugins. set up the smtp like below then rebuil and restart nodebb.
after that. the result is below.
I got the ses credentials by creating smtp user in aws. please correct me if I did wrong.
@pitaj I think this might be a problem.
there is no region northeast-2 in the smtp list on the nodebb setting.
so I just choose SES instead of SES-~~~
@pitaj I changed the region to the us-east1 then it works well. Could you add other aws ses regions on the list when you get a chance?
Thank you for your support!
Have a good one.