[SOLVED] Cannot find module 'wix-members-backend' error

Hey there!

I am very new to this coding and I am having difficulties using the ‘approveByEmail’ function under ‘wix-members-backend’ (pls see screenshot below).

What I want to acheive is to create a custom sign-up page that will automatically approve those who signs up using this custom sign-up page only and will be assigned to a specific Role. I also have another custom sign-up page that is manually approve - already set up and working, btw.

Any assistance is much appreciated!

Thanks!

I already solved this.