Package Details: notesnook 3.3.4-1

Git Clone URL: https://aur.archlinux.org/notesnook.git (read-only, click to copy)
Package Base: notesnook
Description: A fully open source & end-to-end encrypted note taking alternative to Evernote.(Use system-wide electron)
Upstream URL: https://notesnook.com/
Keywords: electron encrypted notes
Licenses: GPL-3.0-or-later
Conflicts: notesnook
Provides: notesnook
Submitter: Radeox
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 9
Popularity: 0.004327
First Submitted: 2022-09-05 10:09 (UTC)
Last Updated: 2025-11-04 01:22 (UTC)

Dependencies (7)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 Next › Last »

imrehg commented on 2025-10-21 05:27 (UTC)

Thanks, @zxp19821005 it seems to build & work now. The pkgrel value hasn't been updated in the last fix, so it was a bit more steps to get the latest version of the package.

zxp19821005 commented on 2025-10-21 04:13 (UTC)

@imrehg Ah, it's my mistake, I forgot to modify it. Fixed now, can you try again?

imrehg commented on 2025-10-21 04:03 (UTC)

When trying to launch the latest 3.3.2-2, it doesn't, and shows this error message:

❯ notesnook
Error launching app
Unable to find Electron app at /usr/lib/notesnook/app

Cannot find module '/usr/lib/notesnook/app'

zxp19821005 commented on 2025-10-21 03:41 (UTC)

@imrehg Thanks for your feedback, fixed it.

imrehg commented on 2025-10-20 13:30 (UTC)

The build of version 3.3.2-1 seems to fail for me with this:

==> Starting build()...
v22.20.0 is already installed.
Now using node v22.20.0 (npm v10.9.3)
Now using node v22.20.0 (npm v10.9.3)
npm warn exec The following package was not found and will be installed: nx@21.6.5

 NX   The current directory isn't part of an Nx workspace.

To create a workspace run:
npx create-nx-workspace@latest <workspace name>

To add Nx to an existing workspace with a workspace-specific nx.json, run:
npx nx@latest init


 NX   For more information please visit https://nx.dev/

==> ERROR: A failure occurred in build().

Any suggestions?

taivlam commented on 2025-07-06 16:07 (UTC)

When I try to use the search bar, Notesnook crashes and gives the error below. Is this error related to this package, or is the cause upstream?

Failed to construct 'Statement': no such function: regexp (query: select "results"."id", "results"."type", 1 as "rank" from (select "id", 'title' as "type" from "notes" where "id" in (select "id" from "notes" where ("dateDeleted" is null or "dateDeleted" == 0) and ("deleted" is null or "deleted" == 0) and ("archived" is null or "archived" == 0)) and "title" regexp ? union all select "noteId" as "id", 'content' as "type" from "content" where "content"."locked" != ? and "noteId" in (select "id" from "notes" where ("dateDeleted" is null or "dateDeleted" == 0) and ("deleted" is null or "deleted" == 0) and ("archived" is null or "archived" == 0)) and "data" regexp ?) as "results")
SqliteError: Failed to construct 'Statement': no such function: regexp (query: select "results"."id", "results"."type", 1 as "rank" from (select "id", 'title' as "type" from "notes" where "id" in (select "id" from "notes" where ("dateDeleted" is null or "dateDeleted" == 0) and ("deleted" is null or "deleted" == 0) and ("archived" is null or "archived" == 0)) and "title" regexp ? union all select "noteId" as "id", 'content' as "type" from "content" where "content"."locked" != ? and "noteId" in (select "id" from "notes" where ("dateDeleted" is null or "dateDeleted" == 0) and ("deleted" is null or "deleted" == 0) and ("archived" is null or "archived" == 0)) and "data" regexp ?) as "results")
    at Database.prepare (/usr/lib/notesnook/app/node_modules/better-sqlite3-multiple-ciphers/lib/methods/wrappers.js:5:21)
    at z.<anonymous> (https://app.notesnook.com/assets/sqlite.worker.desktop-JHv0zQDB.js:1:858)
    at Generator.next (<anonymous>)
    at https://app.notesnook.com/assets/sqlite.worker.desktop-JHv0zQDB.js:1:298
    at new Promise (<anonymous>)
    at h (https://app.notesnook.com/assets/sqlite.worker.desktop-JHv0zQDB.js:1:95)
    at z.prepare (https://app.notesnook.com/assets/sqlite.worker.desktop-JHv0zQDB.js:1:675)
    at z.<anonymous> (https://app.notesnook.com/assets/sqlite.worker.desktop-JHv0zQDB.js:1:1286)
    at Generator.next (<anonymous>)
    at https://app.notesnook.com/assets/sqlite.worker.desktop-JHv0zQDB.js:1:298

zxp19821005 commented on 2025-04-23 01:42 (UTC)

@ashwinkj Thanks for your feedback, I have fixed it.

ashwinkj commented on 2025-04-22 17:38 (UTC) (edited on 2025-04-22 17:39 (UTC) by ashwinkj)

@zxp19821005

Currently, it is not able to make the AppImage executable because lines 40 and 41 is checking for the wrong files. I had to change the check to respect the architecture like below.

diff --git a/PKGBUILD b/PKGBUILD
index 70bf4cd..c126623 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,8 +37,8 @@ prepare() {
         s/@cfgdirname@/${_appname}/g
         s/@options@/env ELECTRON_OZONE_PLATFORM_HINT=auto/g
     " "${srcdir}/${pkgname%-bin}.sh"
-    if [ ! -x "${srcdir}/${pkgname%-bin}-${pkgver}.AppImage" ];then
-        chmod +x "${srcdir}/${pkgname%-bin}-${pkgver}.AppImage"
+    if [ ! -x "${srcdir}/${pkgname%-bin}-${pkgver}-${CARCH}.AppImage" ];then
+        chmod +x "${srcdir}/${pkgname%-bin}-${pkgver}-${CARCH}.AppImage"
     fi
     "${srcdir}/${pkgname%-bin}-${pkgver}-${CARCH}.AppImage" --appimage-extract > /dev/null
     sed -i "s/AppRun --no-sandbox/${pkgname%-bin}/g;s/Icon=${_pkgname}/Icon=${pkgname%-bin}/g" -i "${srcdir}/squashfs-root/${_pkgname}.desktop"

taivlam commented on 2025-04-17 14:59 (UTC)

Thank you! The runtime error has been fixed.

zxp19821005 commented on 2025-04-16 04:47 (UTC)

@taivlam Thanks for your feedback, fixed it.