Make sure the class is declared before Actor.addBehavior is called.Actor.addBehavior @ VM148:527(function) @ SupRuntime.js:206async.forEachOf.async.eachOf @ SupRuntime.js:258async.forEach.async.each@ SupRuntime.js:234Player._startPlugins @ SupRuntime.
我刚刚开始用node.js编写代码,我知道node.js是异步的,但不知道如何处理这个问题。)); connection.query('SELECT * FROM people WHERE id ='+actor_id+';', function(err, actor) {
connection.query('SELECT * FROM us