Package Details: anki 24.06.3-1

Git Clone URL: https://aur.archlinux.org/anki.git (read-only, click to copy)
Package Base: anki
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: https://apps.ankiweb.net/
Keywords: anki languages learning vocabulary
Licenses: AGPL3
Conflicts: anki-bin, anki-git, anki-qt5
Submitter: demize
Maintainer: AlexBocken
Last Packager: AlexBocken
Votes: 164
Popularity: 6.95
First Submitted: 2021-09-17 22:31 (UTC)
Last Updated: 2024-07-01 19:16 (UTC)

Latest Comments

1 2 3 4 5 6 .. 29 Next › Last »

AlexBocken commented on 2024-06-22 07:36 (UTC) (edited on 2024-06-22 07:36 (UTC) by AlexBocken)

To anyone having the node: text file busy error: I was finally able to recreate the issue. The issue seems to arise when you update node and then try to update anki without restarting inbetween. Seems like until a restart is done, some things still expect the old node version to be present?

If someone who knows more about node knows how to fix this without a reboot please let me know, maybe this is something which could be integrated into the PKGBUILD for user simplicity. For now, consider rebooting inbetween.

AlexBocken commented on 2024-06-08 09:38 (UTC)

@Ketchup901 Thanks for the report. You're right, I've just tested it and it seems like nodejs-lts-iron is the oldest which is still supported. I've bumped the required nodejs version appropriately, thanks!

Ketchup901 commented on 2024-06-07 18:01 (UTC)

node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
Error: tsx must be loaded with --import instead of --loader
The --loader flag was deprecated in Node v20.6.0
    at X (file:///home/user/.cache/pikaur/build/anki/src/anki-24.06/out/node_modules/tsx/dist/esm/index.mjs:1:1920)
    at Hooks.addCustomLoader (node:internal/modules/esm/hooks:202:24)
    at Hooks.register (node:internal/modules/esm/hooks:168:16)
    at async initializeHooks (node:internal/modules/esm/utils:233:5)
    at async customizedModuleWorker (node:internal/modules/esm/worker:104:24)

Node.js v18.20.3

It worked when I replaced nodejs-lts-hydrogen with nodejs.

AlexBocken commented on 2024-06-07 10:00 (UTC)

@misc please let me know if the problem with yarn persists with the update. I could not recreate the issue on various platforms.

misc commented on 2024-05-30 19:29 (UTC) (edited on 2024-06-07 12:03 (UTC) by misc)

Seems kernel 6.9(.2 right now) makes yarn throw a fit (/usr/bin/env: ‘node’: Text file busy).

Workaround:

export UV_USE_IO_URING=0

edit: seems indeed fixed in 6.9.3

AlexBocken commented on 2024-05-30 09:09 (UTC) (edited on 2024-05-30 09:09 (UTC) by AlexBocken)

@TheGreatAndyChow thanks for the report. Will look into this. But don't worry, -3 does not differ in any way in build result from -2. You can reinstall your already built version without any issues.

E.g.If you're using paru:

sudo pacman -U ~/.cache/paru/clone/anki/anki*24.04.01-2*.zst

TheGreatAndyChow commented on 2024-05-30 00:42 (UTC)

Hi. I'm having an error since the update of the 25th. I tried uninstalling and reinstalling, no luck. Here's the "log" of the error https://paste.rs/i9l86.txt

AlexBocken commented on 2024-05-25 08:50 (UTC) (edited on 2024-05-25 10:46 (UTC) by AlexBocken)

@hearth, @thecheddarchees Thanks for the reports, I think I've found the issue now. Currently testing it in clean chroots/various scenarios. Will push once confirmed stable.

Edit: pushed with '-3'. (pkgrel bumped that AUR-helpers will actually catch the update, will force a rebuild for others who are not affected by this issue)

hearth commented on 2024-05-24 11:00 (UTC)

@thecheddarcheese I am having the same issue with the anki-git package. I also get these messages before that error:

warning Pattern ["string-width@^4.1.0"] is trying to unpack in the same destination "/home/hearth/.cache/yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping.
warning svelte-preprocess@5.1.3: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning " > esbuild-sass-plugin@2.16.1" has incorrect peer dependency "esbuild@^0.19.4".

thecheddarcheese commented on 2024-05-19 11:19 (UTC)

I keep getting this error:

error /home/saki/.cache/yay/anki/src/anki-24.04.1/out/node_modules/esbuild: Command failed.
Exit code: 126
Command: node install.js
Arguments: 
Directory: /home/saki/.cache/yay/anki/src/anki-24.04.1/out/node_modules/esbuild
Output:
/bin/sh: /tmp/yarn--1716117223013-0.8629753967543765/node: /bin/sh: bad interpreter: Text file busy

Might be an issue on my end, but I'm not sure what could be causing it.