Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

White window when running on Windows 10 #4

Open
AndreasRef opened this issue Sep 1, 2020 · 6 comments
Open

White window when running on Windows 10 #4

AndreasRef opened this issue Sep 1, 2020 · 6 comments

Comments

@AndreasRef
Copy link

AndreasRef commented Sep 1, 2020

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?

@LingDong-
Copy link
Owner

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!

@kine90
Copy link

kine90 commented Oct 30, 2020

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

tensorflow/tfjs#2003 (comment)

@ichingxs4all
Copy link

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 ?

@LingDong-
Copy link
Owner

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

@ichingxs4all
Copy link

I uploaded it to Google Drive.
https://drive.google.com/file/d/1LnORtfcH92BFE6AVqd4N2bOqmZ4yyxBf/view?usp=sharing
Please give it a try :-)

@LingDong-
Copy link
Owner

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!

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

No branches or pull requests

4 participants