frontend 2 sockets at same time #5023
Unanswered
amchconsult
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi! "io is not a function" usually means the script was not properly loaded. Could you please check? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
<script src="../assets/socket.io/dist/socket.io.min.js"></script> <script src="../assets/ePOS_SDK_JavaScript_v2.27.0/epos-2.27.0.js"></script>I am developing a web application.
One web sockets is connected to my node.js server no problem but also in front end I have add the ePOS_SDK_JavaScript_v2.27.0 file epos-2.27.0.js to connect to the thermal printer what also use socket.
So loading:
It said "io is not a function" coming from var io = io();
How do I do?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions