Fork me on GitHub
#shadow-cljs
<
2022-01-25
>
ribelo13:01:41

I have a problem to make electron work with lmdb

ribelo13:01:09

I suspect it's not a problem with shadow-cljs, but maybe...

ribelo13:01:07

theoretically, according to the creator, it should work

thheller16:01:26

looks like you might be trying to run this in the renderer process when it is only available in the main node part?

thheller16:01:48

its been years since I looked at electron so can't comment much

ribelo19:01:05

using require in electron is always an ordeal

ribelo19:01:03

You are right the problem is with the renderer process, because the require in main main process worsk, but theoretically, thanks to nodeIntegratrion it should work also on the renderer process

ribelo19:01:32

but thanks for your suggestions, I know where and what to look for