Unable to use PhotonChat JS SDK in Node.js environment
Options
rjkz808
✭
PhotonChat JS SDK cannot be included in Node.js script because it depends on browser `window` object (as you know node doesn't have such). Do you plan to implement Node.js support? Can you distribute JS SDK package using NPM? It's quite uncomfortable to use JS SDK with node-based bundling systems like webpack at the moment, even for frontend development.
0
Comments
-
We do not support Node.js currently.
You can find information on Node.js integration in forum:
https://forum.photonengine.com/discussion/comment/40089
https://forum.photonengine.com/discussion/comment/343441 -
Ok, thank you!0