Cannot read property 'main' of undefined
-
Is this a problem of the server?
-
Where do you refer to main? And why do you do it?
-
Also, I don't think main is defined as a variable or instance.
-
First please add a title to this post.
Second you need a main.js that is your entry point, if that is missing you get that error.
-
@hwy any idea how to reproduce it?
-
@o4kapuk I don't know how to reproduce it. This happens randomly, when I looks at my logs, this log shows between many normal logs. When shard3 is 10s/tick, this happens more frequently.
-
@mrfaul OK, next time I will add a title. I have a main.js like everyone does. This error happens not every tick. Most of the time, my code runs normally, so I think it's a problem of the server.