# Problem with openvidu-js-node tutorial

**URL:** <https://openvidu.discourse.group/t/problem-with-openvidu-js-node-tutorial/2737>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [February 23, 2021, 1:49pm UTC](https://openvidu.discourse.group/t/problem-with-openvidu-js-node-tutorial/2737 "2021-02-23T13:49:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iliya\_hajjar](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/iliya_hajjar/32/1357_2.png) [@iliya\_hajjar](https://openvidu.discourse.group/u/iliya_hajjar)\
**Post date:** [February 23, 2021, 1:49pm UTC](https://openvidu.discourse.group/t/problem-with-openvidu-js-node-tutorial/2737/1 "2021-02-23T13:49:45Z")

</div>

I’ve got a problem running this tutorial [https://docs.openvidu.io/en/2.16.0/tutorials/openvidu-js-node/](https://docs.openvidu.io/en/2.16.0/tutorials/openvidu-js-node/) and I could not get this working since there is an error like below:  
`TypeError: Cannot read property 'createConnection' of undefined`  
and it is right to inspect this as an error since the `session` has no method named `createConnection`. Working on this for an hour made me believe that there must be a problem in the code provided in this tutorial.I appreciate your help.

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [February 23, 2021, 2:01pm UTC](https://openvidu.discourse.group/t/problem-with-openvidu-js-node-tutorial/2737/2 "2021-02-23T14:01:37Z")

</div>

These instructions work perfectly fine: [OpenVidu Docs](https://docs.openvidu.io/en/2.16.0/tutorials/openvidu-js-node/)  
Make sure you run those commands and do not change the version of neither openvidu-node-client nor openvidu-server-kms docker image.
