SocketCluster/socketcluster-client

Not able to run the client on the office-js in excel desktop

gujacob opened this issue · 2 comments

I know this probably is related to office-js runtime, but anyways i'm going to ask it here.. maybe someone can point me on the right direction.

I'm trying to build a excel addin using the office-js library so i can have excel custon functions feeding my excel with data comming from the socket server i 'm implementing..

My problem is, whenever I add the const socketCluster = require("socketcluster-client-edge") my addin stops to work if i'm using excel for desktop, and works on the excel web (running in chrome and in the new version of Edge).
If i use the old version of the client. socketserver-client-edge it works on the excel js runtime.

Does any one has any clues on why this is happening? I'm also asking for help on the stack-overflow on forums read by MS developers, but no response so far.

Maybe there is a set of javascripts that ar new on the new client that is not supported by the excel js runtime, but they say it uses edge, and my addin is working in office web running in edge, so maybe it is the old version of edge?? any clues that can guide me to, or at least point me into the right direction is very much appreciated.

Thanks

@gujacob You shouldn't use socketcluster-client-edge - This is a very old version of the client which was used as an experimental release to try out some advanced features at the time (it was called 'edge' to mean experimental, it was not specific to the Edge browser). Note that the socketcluster-client should work fine with all major browsers including Edge.

thanks for the info..
there is something on the socketcluster-client that is not compatible with older version of edge.
I have a client develop using the latest version and it was not running on edge until we update it to the new version (we have to download it from ms - the update didn't happen automatically)
MS says excel js runtime runs on edge, but we updated the version of edge and it solved the problem on the browser but it is still not working on excel.. i suspect it is the Async iterators, that is used on the new version of the client (Do you use it on the edge version)

Thanks for your prompt response!!