Hello,

I am trying to run chatroom and nodejs_watchdog module with OpenAtrium. Nodejs seems to be working fine but in OpenAtrium pages its throwing JS errors, as below.

nodejs_watchdog JS error :
Uncaught TypeError: Cannot read property 'callbacks' of undefined(anonymous function) @ nodejs.watchdog.js?o2oo29:4(anonymous function) @ nodejs.watchdog.js?o2oo29:12

chatroom JS error :
Uncaught TypeError: Cannot read property 'connectionSetupHandlers' of undefined(anonymous function) @ chatroom.js?o2oswh:78(anonymous function) @ chatroom.js?o2oswh:191

I am not sure if this errors are due to nodejs or openatrium or jquery version conflict.

Comments

barinder created an issue.

nikunjkotecha’s picture

Will it be possible for you to create a dev or Acquia cloud dev instance and share access?

glekli’s picture

This error is likely because Node.js is not loaded on the page that has a chatroom. Could you please check your Node.js configuration to make sure it's loaded on chatroom pages (e.g. node/*), and let us know if the issue still persists?

barinder’s picture

Hi Gergely Lekli,

The configuration was using wrong aliased path so it was not getting on loaded that node page, now I am getting the "Failed to load resource: net::ERR_CONNECTION_CLOSED" error. It seems to be error at nodejs end.

Thanks