Package Details: athens-git v2.0.0.beta.20.r1.g4f1cab12-2

Git Clone URL: https://aur.archlinux.org/athens-git.git (read-only, click to copy)
Package Base: athens-git
Description: Open-source knowledge graph
Upstream URL: https://github.com/athensresearch/athens
Licenses: Eclipse Public License - v 1.0
Conflicts: athens
Provides: athens
Submitter: None
Maintainer: lotus
Last Packager: lotus
Votes: 8
Popularity: 0.047953
First Submitted: 2021-02-11 14:26 (UTC)
Last Updated: 2022-03-21 00:34 (UTC)

Pinned Comments

lotus commented on 2021-08-31 01:34 (UTC)

Thanks for your note, @homunkoloss!

You are correct, it looks like athens-git is not building on the current version of Node.js (v16.8.0 at the time of writing this). Instead of modifying the PKGBUILD, I would recommend using nvm to manage Node.js versions. This way, you can keep community/nodejs installed on your system when installing this package. I tested the install with the current latest LTS version (v14.17.5) with success:

nvm install 14 # or `nvm install lts/fermium`
nvm use 14 # or `nvm use lts-fermium`

Latest Comments

lotus commented on 2022-03-21 00:37 (UTC) (edited on 2022-03-21 00:38 (UTC) by lotus)

@malcolm yep, my apologies, I made the change but didn't push. Fixed now. Thanks!

malcolm commented on 2022-03-21 00:18 (UTC)

isn't clojure missing as a dependency?

spacjoe commented on 2021-09-27 19:38 (UTC) (edited on 2021-09-27 19:54 (UTC) by spacjoe)

I can't seem to get this package to run properly. Just get an electron error screen.

Edit the file /usr/bin/athens after the compilation to run with 'electron13' instead of 'electron'. That fixes the issue. Had the tip from this issue https://github.com/athensresearch/athens/issues/916

lotus commented on 2021-08-31 01:34 (UTC)

Thanks for your note, @homunkoloss!

You are correct, it looks like athens-git is not building on the current version of Node.js (v16.8.0 at the time of writing this). Instead of modifying the PKGBUILD, I would recommend using nvm to manage Node.js versions. This way, you can keep community/nodejs installed on your system when installing this package. I tested the install with the current latest LTS version (v14.17.5) with success:

nvm install 14 # or `nvm install lts/fermium`
nvm use 14 # or `nvm use lts-fermium`

homunkoloss commented on 2021-08-30 08:42 (UTC) (edited on 2021-08-30 08:43 (UTC) by homunkoloss)

I am got the error:

==> Erstelle Paket: athens-git v1.0.0.beta.94.r2.g418b4746-1 (Mo 30 Aug 2021 10:21:27) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Prüfe Buildtime-Abhängigkeiten... ==> Empfange Quellen... -> Aktualisiere das athens git Repo... Fordere an von origin -> athens.sh gefunden -> athens.desktop gefunden ==> Überprüfe source Dateien mit md5sums... athens ... Übersprungen athens.sh ... Durchgelaufen athens.desktop ... Durchgelaufen ==> Entpacke Quellen... -> Erstelle Arbeitskopie des athens git Repos... Zu neuem Branch 'makepkg' gewechselt ==> Beginne prepare()... yarn upgrade v1.22.11 [1/4] Resolving packages... [2/4] Fetching packages... info dmg-license@1.0.9: The platform "linux" is incompatible with this module. info "dmg-license@1.0.9" is an optional dependency and failed compatibility check. Excluding it from installation. info iconv-corefoundation@1.1.6: The platform "linux" is incompatible with this module. info "iconv-corefoundation@1.1.6" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@2.3.2: The platform "linux" is incompatible with this module. info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning " > react-codemirror2@7.2.1" has incorrect peer dependency "react@>=15.5 <=16.x". warning " > react-highlight.js@1.0.7" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0". warning " > react-highlight.js@1.0.7" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0". [4/4] Rebuilding all packages... success Saved lockfile. success Saved 1 new dependency. info Direct dependencies └─ electron@13.2.3 info All dependencies └─ electron@13.2.3 Done in 4.99s. ==> Beginne pkgver()... ==> Entferne existierendes $pkgdir/ Verzeichnis... ==> Beginne build()... yarn install v1.22.11 [1/4] Resolving packages... success Already up-to-date. Done in 0.44s. NPM version conflict for "react" in deps.cljs (will use A) A: "17.0.1" from jar:file:/home/homunkoloss/.m2/repository/reagent/reagent/1.0.0/reagent-1.0.0.jar!/deps.cljs B: "16.13.1" from jar:file:/home/homunkoloss/.m2/repository/devcards/devcards/0.2.7/devcards-0.2.7.jar!/deps.cljs NPM version conflict for "react-dom" in deps.cljs (will use A) A: "17.0.1" from jar:file:/home/homunkoloss/.m2/repository/reagent/reagent/1.0.0/reagent-1.0.0.jar!/deps.cljs B: "16.13.1" from jar:file:/home/homunkoloss/.m2/repository/devcards/devcards/0.2.7/devcards-0.2.7.jar!/deps.cljs [:main] Compiling ... [:main] Build completed. (137 files, 0 compiled, 0 warnings, 10,87s) [:renderer] Compiling ... npm package "@sentry/integrations" expected version "@sentry/types@6.4.1" but "5.30.0" is installed. npm package "@sentry/integrations" expected version "@sentry/utils@6.4.1" but "5.30.0" is installed. [:renderer] Build completed. (1201 files, 0 compiled, 0 warnings, 24,23s) [:app] Compiling ... npm package "@sentry/integrations" expected version "@sentry/types@6.4.1" but "5.30.0" is installed. npm package "@sentry/integrations" expected version "@sentry/utils@6.4.1" but "5.30.0" is installed. [:app] Build completed. (1201 files, 0 compiled, 0 warnings, 8,13s) yarn run v1.22.11 $ /home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/.bin/electron-builder --linux --x64 --dir -c.electronDist=/usr/lib/electron -c.electronVersion=13.2.3 • electron-builder version=22.10.5 os=5.10.60-1-lts • loaded configuration file=package.json ("build" field) • writing effective config file=dist/builder-effective-config.yaml • packaging platform=linux arch=x64 electron=13.2.3 appOutDir=dist/linux-unpacked • copying Electron source=/usr/lib/electron destination=/home/homunkoloss/.cache/yay/athens-git/src/athens/dist/linux-unpacked ⨯ editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening. stackTrace= Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening. at new Errlop (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/util.js:23:14) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:317:21) at solicitEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) ↳ Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable. at new Errlop (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/util.js:23:14) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:327:19) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:312:12) at solicitEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) ↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript source code made to be compatible with Deno] is not compatible with this environment. at new Errlop (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/util.js:23:14) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:301:25) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:312:12) at solicitEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) ↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 12 || 14 || 15 with Import for modules] is not compatible with this environment. at new Errlop (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/util.js:23:14) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:301:25) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:312:12) at solicitEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) ↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 15 with Require for modules] is not compatible with this environment. at new Errlop (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/util.js:23:14) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:301:25) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:312:12) at solicitEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) ↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment. at new Errlop (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/util.js:23:14) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:301:25) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:312:12) at solicitEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) ↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ES2019 for web browsers with Import for modules] is not compatible with this environment. at new Errlop (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/util.js:23:14) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:301:25) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:312:12) at solicitEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) ↳ Error: editions-autoloader-edition-incompatible: The edition [TypeScript source code with Import for modules] is not compatible with this environment. at new Errlop (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/util.js:23:14) at isCompatibleEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:252:19) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:287:4) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:312:12) at solicitEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) at Module._compile (node:internal/modules/cjs/loader:1101:14) ↳ Error: editions-autoloader-invalid-engines: The edition had no engines to compare against the environment at new Errlop (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/util.js:23:14) at isCompatibleEngines (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:183:19) at isCompatibleEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:250:10) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:287:4) at determineEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:312:12) at solicitEdition (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (/home/homunkoloss/.cache/yay/athens-git/src/athens/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ==> FEHLER: Ein Fehler geschah in build(). Breche ab...

Here is what I deem to be the relevant part: ↳ Error: editions-autoloader-edition-incompatible: editions-autoloader-edition-incompatible: The edition [TypeScript compiled against ESNext for Node.js 14 || 15 with Require for modules] is not compatible with this environment.

I fixed it locally by changing nodejs to nodejs-lts-erbium as sugested in here: https://bbs.archlinux.org/viewtopic.php?id=266751

I guess the PKGBUILD needs to be updated.

solarkraft commented on 2021-04-17 16:34 (UTC) (edited on 2021-04-18 18:44 (UTC) by solarkraft)

You may want to change the dependency from electron to electron11 as there is no support for electron 12 right now.

Update: I submitted a PR for an electron 12 update, so this might be solved in the next few releases.