# Socket.io error issue

**URL:** <https://discourse.nodered.org/t/socket-io-error-issue/46587>\
**Category:** General\
**Created:** [2 June 2021 10:05 UTC](https://discourse.nodered.org/t/socket-io-error-issue/46587 "2021-06-02T10:05:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kartiknodered](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kartiknodered/32/40448_2.png) [@Kartiknodered](https://discourse.nodered.org/u/Kartiknodered)\
**Post date:** [2 June 2021 10:05 UTC](https://discourse.nodered.org/t/socket-io-error-issue/46587/1 "2021-06-02T10:05:02Z")

</div>

Hello,  
I am using "node-red-contrib-socketio" nodes and trying to run the example given in that node but their is an issue I am facing I am having to errors. I am sending screenshot of nodes and error i am getting.

 ![Screenshot (146)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/3/73e4625de1d9d56e1a041681f6ae72d24deb3497.png)  
 ![Screenshot (148)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/c/9c15e18021f9b3c737ef90b28fe5d6d1d3deab5a.png)

---

<div class="post-metadata">

**Author:** ![kevinGodell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kevingodell/32/27040_2.png) [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Post date:** [2 June 2021 10:43 UTC](https://discourse.nodered.org/t/socket-io-error-issue/46587/2 "2021-06-02T10:43:11Z")

</div>

socket .io has gone through many breaking changes recently as they went from v2 to v3 to v4 is a short period of time. You should check which version of socket .io that node-red-contrib-socketio is requiring vs which version is installed. I recently came across this error when implementing socket .io in my video streaming node and changing the constructor to satisfy a cross-version solution.

---

<div class="post-metadata">

**Author:** ![Kartiknodered](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kartiknodered/32/40448_2.png) [@Kartiknodered](https://discourse.nodered.org/u/Kartiknodered)\
**Post date:** [2 June 2021 10:54 UTC](https://discourse.nodered.org/t/socket-io-error-issue/46587/3 "2021-06-02T10:54:16Z")

</div>

but when we install this node, it automatically install [socket.io](http://socket.io)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 August 2021 10:55 UTC](https://discourse.nodered.org/t/socket-io-error-issue/46587/4 "2021-08-01T10:55:01Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
