Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
gujacob opened this issue May 19, 2020 · 2 comments
Open

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

gujacob opened this issue May 19, 2020 · 2 comments

Comments

@gujacob
Copy link

gujacob commented May 19, 2020

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

@jondubois
Copy link
Member

jondubois commented May 19, 2020

@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.

@gujacob
Copy link
Author

gujacob commented May 19, 2020

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!!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants