-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
The V8 platform used by this instance of Node does not support creating Workers #116
Comments
Looks like it's similar to this electron/electron#18540 but lemme dig deeper into this. I've never use Electron before. |
Thanks for the quick reply, tuananh! Here some more info about the environment:
I'm distributing the camaro.wasm to the app after build and I've seen you added a worker.js with v6, which seems to break the electron app. As far as I know, electron uses his own node & V8 engine version. |
I'm also having an issue that might be related. I'm writing a Zapier CLI application and started getting this error immediately after trying to call
|
@kentico-ericd what node / camaro version are you using? |
I tried
Does it require node >=12? I think it might have been an issue with |
Workers should be stable with node >= 12. @tuananh is it maybe possible to make the usage of workers for camaro optional? This could help with different environments and people can't argue about a lack in performance when workers are not in use. |
I might as well do that :)
…On Fri, Sep 11, 2020 at 18:21 AwesomeNameMan ***@***.***> wrote:
Workers should be stable with node >= 12.
@tuananh <https://github.com/tuananh> is it maybe possible to make the
usage of workers for camaro optional? This could help with different
environments and people can't argue about a lack in performance when
workers are not in use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEZETWCKTSP52TSONR4BO3SFIB2FANCNFSM4QLQJPDA>
.
|
Fixed by #122 |
Problem still occurs for me with the following versions:
The V8 platform used by this instance of Node does not support creating Workers |
Stil happening v12 |
@AwesomeNameMan @fabiospampinato do you have minimal project so that I can try? I'm not very familiar with Electron. |
Oh sorry I thought we were in electron's repo here 🤦♂️ my bad. You can probably reproduce the issue by running this library inside Electron's renderer process. |
Hi tuananh, any news here? |
Sorry i didn't have bandwidth for tis project lately. could you rollback to v3 where worker isn't used yet? |
@tuananh i use camaro 3.0.19 There are still problems.
|
Describe the bug
Updated from camaro 5.0.3 to 6 (6.0.3). Using camaro with electron to parse many XML strings.
After the update electron crashes with the following error:
The V8 platform used by this instance of Node does not support creating Workers
Minimal Script To Reproduce
Expected behavior
Camaro not breaking my electron app.
The text was updated successfully, but these errors were encountered: