jayralencar / sqlite-cipher.js

Node.js Module to handle encrypted sqlite databases
MIT License
37 stars 12 forks source link

EPERM: operation not permitted, write in Electron #1

Closed v-volaju closed 8 years ago

v-volaju commented 8 years ago

Hi. I've been exploring with this library first with nwjs and now with electron. I got it working on nwjs but with electron(atom) it got an error (Error: EPERM: operation not permitted, write) when I tried to just load/require it in the app. I am using it with the minimal Electron app by loading it in index.html like so:

`H

` I hope you can help me out. Thanks
jayralencar commented 8 years ago

Hi. I have not tested with electron. I will do. Please wait

jayralencar commented 8 years ago

@v-volaju look it https://github.com/atom/electron/issues/2033

v-volaju commented 8 years ago

Thanks for the reply. I have read that issue but can't quite figure out where to place that fix/workaround suggested on that thread. Anyway have made it work with electron yet?

jayralencar commented 8 years ago

Hi @v-volaju, I tested in electron. Look https://github.com/jayralencar/electron-quick-start

jayralencar commented 8 years ago

But, you have the problem when package, ok? I'm looking it. Wait.

jayralencar commented 8 years ago

Solved in version 0.2.1 And commit b0b2f6d

v-volaju commented 8 years ago

Thanks man. Took me a while to come back here.