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

Can't seem to make it work on electron #12

Open
felipellrocha opened this issue Jan 14, 2023 · 2 comments
Open

Can't seem to make it work on electron #12

felipellrocha opened this issue Jan 14, 2023 · 2 comments

Comments

@felipellrocha
Copy link

It might be a permission issue, or something else, but I can't quite tell after about a week of working on this.

Screen Shot 2023-01-13 at 13 53 39

This code works fine when I load the same code on the browser (Chrome), but not Electron, which, presumably, uses the same version of chrome. I also get no errors on console.

Any ideas?

@chemicstry
Copy link
Owner

I have no experience with electron so I'll be just guessing:

  • Have you looked at network tab to check if webworker script is loaded? Maybe there is a path issue
  • Does wasm_logger support web workers? Try using console_log as in example and also a console_error_panic_hook, which will tell you if something panics.

@felipellrocha
Copy link
Author

I have checked both the path and verified the logger works (It works on browser). Are you available over discord for a quick pairing session sometime this week?

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

2 participants