You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New issue, now anki rejects the created file with the message "Unable to read file. It probably requires a newer version of Anki to import." despite on the latest version, which is im guessing because this repo is really old. Oops. Well at least it makes the file now?
Alright I solved the issue. The actual error was "loError("Custom { kind: Other, error: "Invalid checksum" }")" as given by running anki from source. After some debugging I noticed that the .apkg file created by mkanki is much smaller than the one created by genanki, I decided to extract and rezip it without compressing, change the ext to apkg and voilà it opened without a problem. So in mkanki compression should be turned off when zipping.
I'm getting a
npm ERR! gyp ERR! build error
which is caused by an issue in thebetter-sqlite3
dependency that was fixed in a later version.I was able to install mkanki and run the example code by upgrading the dependency without any problems.
The text was updated successfully, but these errors were encountered: