Skip to content

Version 5.0.0 doesn't work on Windows 10 #54

Closed

Description

@vidyuthd

Hi

i am using v5.0.0 version, and not able to get past the keying while db setup, fails at the step where i m trying to key the sqlite database without any errors in logs.

  await instance.run(`PRAGMA key = "x'${key}'";`);

If I don't do the above step, everything works fine. Is this linked to ISSUE 46 , because i had to rename napi folders v6 as v3 and make it run on windows

It works in Mac but not in Windows 10 (Parallels machine i have on my machine)

Activity

  1. FTAndy commented on Nov 11, 2020

    @FTAndy

    Got the same issue, call

     await instance.run(`PRAGMA key = "x'${key}'";`);

    electron will crash

  2. FTAndy commented on Nov 11, 2020

    @FTAndy

    @vidyuthd I know how to fix it, try to run electron-rebuild, and change node_modules\@journeyapps\sqlcipher\lib\binding\napi-v6-win32-x64 to napi-v3-win32-x64.

  3. rkistner commented on Jan 12, 2021

    @rkistner
    Member

    I would recommend not renaming that folder - it is likely to cause a crash. You need to get the correct bindings installed.

    I've added new instructions on workarounds here: https://github.com/journeyapps/node-sqlcipher/blob/3870217c1245dd4253e2bac2ea8d1d12a8c4a2b6/README.md#usage-with-electron-forge--electron-rebuild

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions