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

there is no reactor running, must be called from the context of a Tokio 1.x runtime #49

Open
Jonovono opened this issue Nov 26, 2024 · 0 comments

Comments

@Jonovono
Copy link

I added surrealdb.node to a electron project, in the main process. I ran it and it worked great. But after a minute or so, it crashes and I see this error. Let me know if there is anything else needed to help debug it.

thread '<unnamed>' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/surrealkv-0.2.0/src/storage/kv/store.rs:185:13:
there is no reactor running, must be called from the context of a Tokio 1.x runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
   0:        0x12fd2c860 - _napi_register_module_v1
   1:        0x12fc001f8 - <unknown>
   2:        0x12fd086ac - _napi_register_module_v1
   3:        0x12fd3031c - _napi_register_module_v1
   4:        0x12fd2ff74 - _napi_register_module_v1
   5:        0x12fd318a0 - _napi_register_module_v1
   6:        0x12fd30bf8 - _napi_register_module_v1
   7:        0x12fd30b94 - _napi_register_module_v1
   8:        0x12fd30b88 - _napi_register_module_v1
   9:        0x1303ffd28 - _napi_register_module_v1
  10:        0x1303ffd84 - _napi_register_module_v1
  11:        0x1303ffd3c - _napi_register_module_v1
  12:        0x1301f3f44 - _napi_register_module_v1
thread caused non-unwinding panic. aborting.
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

1 participant