LingDong-/PoseOSC

White window when running on Windows 10

AndreasRef opened this issue · 6 comments

First of all, thanks for creating and sharing this tool :-)

I got the binary running on my Mac just fine, but when I try to run it on Windows via npm start it just opens a white program window without anything inside it.

If I open the console I get this error:

Uncaught Error: The specified module could not be found.
\\?\C:\Users\Andre\Downloads\PoseOSC-master\node_modules\@tensorflow\tfjs-node\lib\napi-v4\tfjs_binding.node
    at process.func (electron/js2c/asar.js:140)
    at process.func [as dlopen] (electron/js2c/asar.js:140)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:922)
    at Object.func (electron/js2c/asar.js:140)
    at Object.func [as .node] (electron/js2c/asar.js:140)
    at Module.load (internal/modules/cjs/loader.js:735)
    at Module._load (internal/modules/cjs/loader.js:648)
    at Module._load (electron/js2c/asar.js:717)
    at Function.Module._load (electron/js2c/asar.js:717)
    at Module.require (internal/modules/cjs/loader.js:775)

Any idea what might be causing this?

Hi @AndreasRef ,

Thank you for reporting this issue! Looks like the problem is with node and tensorflow versions. Unfortunately I don't have access to a windows 10 computer at the moment. However, this issue raised in tfjs repo seems to be very similar to yours:

tensorflow/tfjs#2341

They seem to have solved it by upgrading node and/or tfjs, maybe give that a try?

Thanks!

Finally I have been able to have it working thanks to this solution (manually adding the .dll file).

tensorflow/tfjs#2003 (comment)

I was having this blank window problem and was also able to fix it with the above fix.
I build a binary out of it with electron-packager. If you like I can send it to put it next to the Mac binaries ?

@ichingxs4all
Sure! If you send me the file I'll be more than happy to upload it to the releases. Thanks a lot!

Hi @ichingxs4all , sorry for the delay, I've been busy lately.
I just added a new release with your binary: https://github.com/LingDong-/PoseOSC/releases/tag/0.0.3
Thank you very much!