I can start node app.js config.file just fine
but it soon ends with this error:
[2016/06/19 03:02:48] authenticateClientCallback: Valid login for uid 1
[2016/06/19 03:02:48] sendPresenceChangeNotification: onlineUsers
{ '1': [] }
Auth - 1
/usr/lib/node_modules/drupal-node.js/lib/client-manager.js:806
if (this.sockets[sessionId]) {
^
TypeError: Cannot read property 'sockets' of undefined
at ClientManager.publishMessageToClient (/usr/lib/node_modules/drupal-node.js/lib/client-manager.js:806:11)
at process. (/usr/lib/node_modules/drupal-node.js/extensions/drupalchat_nodejs.server.extension.js:26:7)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
at ClientManager.setupClientConnection (/usr/lib/node_modules/drupal-node.js/lib/client-manager.js:260:11)
at ClientManager.authenticateClientCallback (/usr/lib/node_modules/drupal-node.js/lib/client-manager.js:215:8)
at Request._callback (/usr/lib/node_modules/drupal-node.js/lib/client-manager.js:90:28)
at Request.self.callback (/usr/lib/node_modules/drupal-node.js/node_modules/request/request.js:198:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
Comments
Comment #2
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedThis is caused by including the Drupalchat extension.
Comment #3
slowflyer CreditAttribution: slowflyer commentedSame issue ...
Comment #4
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedThe extension needs to be rewritten for the new nodejs module
Comment #5
apadernoThe 7.x-1.x branch is now not supported. Any bug will be fixed in the 7.x-2.x branch, until Drupal 7.x is not supported. It is probably better to focus on resolving bugs in the Drupal 8 branch and make it compatible with Drupal 9 or Drupal 10.