Sign In Register

How can we help you today?

Start a new topic

Make requireOnce work on Real Time Scripts

At the moment, 'requireOnce' works on regular Cloud Code.

However, inside Real Time Scripts, it seems to be an undefined keyword. Trying to use 'requireOnce' in a Real Time script produces the following error:

ReferenceError: "requireOnce" is not defined in <my file>.js at line number XX

Seems like only 'require' is supported in Real Time Scripts at the moment.

Login to post a comment