My "wix-members-backend" module is empty

Question:
What code shall i put into the wix-members-backend.js file because now it´s empty and with that I get a “Cannot find wix-members-backend module” error.

Product:
Wix Editor

What are you trying to achieve:
I want to use the member backend for different functions but it doesn´t work without code in the wix-members-backend js-file.

What have you already tried:
I have Googled a lot to find the code for wix-members-backend but with no result.

Can you show your code and explain what you think led to the error? It would help a lot

Like I wrote there are no code. Wix can´t find wix-members-backend and that isn´t a module you can install. You have to create a json or web file and write in a code. My question is therefore: What is the default code for wix members backend?

I suppose you are attempting to call wixMembers from a backend module (.jsw or .js) and the module is reporting that wixMembers does not exist. Meaning you have a function within this module calling wixMembers, but cant do anything with it.

If so, have you checked to see if you have imported the API before calling it? WixMembers is “pre-installed”, i guess you would say, and the functions associated with the API can only be used, front end or backend, after using an import statement like below

Import {members} from "wix-members-backend"

//only works on backend modules

Using the above, you would be able to access the members object in any function after this statement

No that code didn´t work either (not found) so I guess that I accidently have deleted the pre-installed WixMembers file. Thats why I wonder what code I shall write in a new module file to make it become WixMembers backend?