ITADN

Docs fail to build: Semver version 2024.1 is older than 2 years

#90ClosedDestinyofYeet 创建于 2026-02-03
D
DestinyofYeetcommented
Hi, i am currently unable to build authentik after a couple months of not upgrading (2025.10.2 -> 2025.12.1-dependency-fix). It seems the docs are failing to build. ``` goauthentik-docs> npm info using npm@11.6.2 goauthentik-docs> npm info using node@v24.12.0 goauthentik-docs> npm info config found workspace root at /build/website goauthentik-docs> npm verbose title npm run build:docusaurus goauthentik-docs> npm verbose argv "run" "build:docusaurus" goauthentik-docs> npm verbose logfile logs-max:10 dir:/build/tmp.HXOMCKHlCi/.npm/_logs/2026-02-03T00_23_24_153Z- goauthentik-docs> npm verbose logfile /build/tmp.HXOMCKHlCi/.npm/_logs/2026-02-03T00_23_24_153Z-debug-0.log goauthentik-docs> goauthentik-docs> > @goauthentik/docs-topics@0.0.0 build:docusaurus goauthentik-docs> > docusaurus build goauthentik-docs> goauthentik-docs> [INFO] [en] Creating an optimized production build... goauthentik-docs> 🚀 ak-releases-plugin loaded goauthentik-docs> 🚀 ak-redirects-plugin loaded goauthentik-docs> ✅ releases.gen.json generated ● Client ██████████████████████████████████████████████████ (93%) sealing after goauthentik-docs> ● Server ██████████████████████████████████████████████████ (93%) sealing after [ERROR] Client bundle compiled with errors therefore further build is impossible. goauthentik-docs> × Module build failed (from ../node_modules/@docusaurus/mdx-loader/lib/index.js): goauthentik-docs> ╰─▶ × Error: MDX compilation failed for file "/build/website/docs/add-secure-apps/flows-stages/stages/identification/index.mdx" goauthentik-docs> │ Cause: Semver version 2024.1 is older than 2 years. goauthentik-docs> │ Details: goauthentik-docs> │ Error: Semver version 2024.1 is older than 2 years. goauthentik-docs> │ at assertVersionSupported (file:///build/website/docusaurus-theme/releases/version.mjs:28:15) goauthentik-docs> │ at file:///build/website/docusaurus-theme/remark/version-directive.mjs:48:13 goauthentik-docs> │ at overload (file:///build/website/node_modules/unist-util-visit/lib/index.js:311:12) goauthentik-docs> │ at node (textDirective<ak-version>) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:347:27) goauthentik-docs> │ at node (heading) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:364:61) goauthentik-docs> │ at node (root) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:364:61) goauthentik-docs> │ at visitParents (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:305:31) goauthentik-docs> │ at visit (file:///build/website/node_modules/unist-util-visit/lib/index.js:302:3) goauthentik-docs> │ at file:///build/website/docusaurus-theme/remark/version-directive.mjs:34:9 goauthentik-docs> │ at wrapped (file:///build/website/node_modules/trough/lib/index.js:160:27) goauthentik-docs> │ at next (file:///build/website/node_modules/trough/lib/index.js:86:23) goauthentik-docs> │ at done (file:///build/website/node_modules/trough/lib/index.js:194:7) goauthentik-docs> │ at then (file:///build/website/node_modules/trough/lib/index.js:204:5) goauthentik-docs> │ at wrapped (file:///build/website/node_modules/trough/lib/index.js:181:9) goauthentik-docs> │ at next (file:///build/website/node_modules/trough/lib/index.js:86:23) goauthentik-docs> │ at Object.run (file:///build/website/node_modules/trough/lib/index.js:57:5) goauthentik-docs> │ at executor (file:///build/website/node_modules/unified/lib/index.js:901:20) goauthentik-docs> │ at apply.run (file:///build/website/node_modules/unified/lib/index.js:884:19) goauthentik-docs> │ at executor (file:///build/website/node_modules/unified/lib/index.js:737:12) goauthentik-docs> │ at new Promise (<anonymous>) goauthentik-docs> │ at apply.process (file:///build/website/node_modules/unified/lib/index.js:720:47) goauthentik-docs> │ at Object.process (/build/website/node_modules/@docusaurus/mdx-loader/lib/processor.js:150:37) goauthentik-docs> │ at compileToJSX (/build/website/node_modules/@docusaurus/mdx-loader/lib/utils.js:77:32) goauthentik-docs> │ at async loadMDX (/build/website/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20) goauthentik-docs> │ at compileToJSX (/build/website/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15) goauthentik-docs> │ at async loadMDX (/build/website/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20) goauthentik-docs> goauthentik-docs> goauthentik-docs> -------------------------- goauthentik-docs> goauthentik-docs> × Module build failed (from ../node_modules/@docusaurus/mdx-loader/lib/index.js): goauthentik-docs> ╰─▶ × Error: MDX compilation failed for file "/build/website/docs/install-config/configuration/configuration.mdx" goauthentik-docs> │ Cause: Semver version 2024.1 is older than 2 years. goauthentik-docs> │ Details: goauthentik-docs> │ Error: Semver version 2024.1 is older than 2 years. goauthentik-docs> │ at assertVersionSupported (file:///build/website/docusaurus-theme/releases/version.mjs:28:15) goauthentik-docs> │ at file:///build/website/docusaurus-theme/remark/version-directive.mjs:48:13 goauthentik-docs> │ at overload (file:///build/website/node_modules/unist-util-visit/lib/index.js:311:12) goauthentik-docs> │ at node (textDirective<ak-version>) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:347:27) goauthentik-docs> │ at node (heading) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:364:61) goauthentik-docs> │ at node (root) (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:364:61) goauthentik-docs> │ at visitParents (file:///build/website/node_modules/unist-util-visit-parents/lib/index.js:305:31) goauthentik-docs> │ at visit (file:///build/website/node_modules/unist-util-visit/lib/index.js:302:3) goauthentik-docs> │ at file:///build/website/docusaurus-theme/remark/version-directive.mjs:34:9 goauthentik-docs> │ at wrapped (file:///build/website/node_modules/trough/lib/index.js:160:27) goauthentik-docs> │ at next (file:///build/website/node_modules/trough/lib/index.js:86:23) goauthentik-docs> │ at done (file:///build/website/node_modules/trough/lib/index.js:194:7) goauthentik-docs> │ at then (file:///build/website/node_modules/trough/lib/index.js:204:5) goauthentik-docs> │ at wrapped (file:///build/website/node_modules/trough/lib/index.js:181:9) goauthentik-docs> │ at next (file:///build/website/node_modules/trough/lib/index.js:86:23) goauthentik-docs> │ at Object.run (file:///build/website/node_modules/trough/lib/index.js:57:5) goauthentik-docs> │ at executor (file:///build/website/node_modules/unified/lib/index.js:901:20) goauthentik-docs> │ at apply.run (file:///build/website/node_modules/unified/lib/index.js:884:19) goauthentik-docs> │ at executor (file:///build/website/node_modules/unified/lib/index.js:737:12) goauthentik-docs> │ at new Promise (<anonymous>) goauthentik-docs> │ at apply.process (file:///build/website/node_modules/unified/lib/index.js:720:47) goauthentik-docs> │ at Object.process (/build/website/node_modules/@docusaurus/mdx-loader/lib/processor.js:150:37) goauthentik-docs> │ at compileToJSX (/build/website/node_modules/@docusaurus/mdx-loader/lib/utils.js:77:32) goauthentik-docs> │ at async loadMDX (/build/website/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20) goauthentik-docs> │ at compileToJSX (/build/website/node_modules/@docusaurus/mdx-loader/lib/utils.js:93:15) goauthentik-docs> │ at async loadMDX (/build/website/node_modules/@docusaurus/mdx-loader/lib/loader.js:22:20) goauthentik-docs> npm verbose stack Error: command failed goauthentik-docs> npm verbose stack at promiseSpawn (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22) goauthentik-docs> npm verbose stack at spawnWithShell (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10) goauthentik-docs> npm verbose stack at promiseSpawn (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12) goauthentik-docs> npm verbose stack at runScriptPkg (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:79:13) goauthentik-docs> npm verbose stack at runScript (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12) goauthentik-docs> npm verbose stack at #run (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/commands/run.js:135:13) goauthentik-docs> npm verbose stack at RunScript.execWorkspaces (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/commands/run.js:67:24) goauthentik-docs> npm verbose stack at async Npm.exec (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/npm.js:208:9) goauthentik-docs> npm verbose stack at async module.exports (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/cli/entry.js:67:5) npm verbose pkgid @goauthentik/docs-topics@0.0.0 npm error Lifecycle script `build:docusaurus` failed with error: npm error code 1 npm error path /build/website/docs npm error workspace @goauthentik/docs-topics@0.0.0 npm error location /build/website/docs npm error command failed npm error command sh -c docusaurus build npm verbose cwd /build/website/docs npm verbose os Linux 6.12.68 npm verbose node v24.12.0 npm verbose npm v11.6.2 npm verbose exit 1 npm verbose code 1 ERROR: "build:docusaurus" exited with 1. npm verbose stack Error: command failed goauthentik-docs> npm verbose stack at promiseSpawn (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22) goauthentik-docs> npm verbose stack at spawnWithShell (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10) goauthentik-docs> npm verbose stack at promiseSpawn (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12) goauthentik-docs> npm verbose stack at runScriptPkg (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:79:13) goauthentik-docs> npm verbose stack at runScript (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12) goauthentik-docs> npm verbose stack at #run (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/commands/run.js:135:13) goauthentik-docs> npm verbose stack at RunScript.execWorkspaces (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/commands/run.js:67:24) goauthentik-docs> npm verbose stack at async Npm.exec (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/npm.js:208:9) goauthentik-docs> npm verbose stack at async module.exports (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/cli/entry.js:67:5) npm verbose pkgid @goauthentik/docs-topics@0.0.0 npm error Lifecycle script `build` failed with error: npm error code 1 npm error path /build/website/docs npm error workspace @goauthentik/docs-topics@0.0.0 npm error location /build/website/docs npm error command failed npm error command sh -c run-s build:docusaurus build:copy npm verbose cwd /build/website npm verbose os Linux 6.12.68 npm verbose node v24.12.0 npm verbose npm v11.6.2 npm verbose exit 1 npm verbose code 1 npm verbose cwd /build/website npm verbose os Linux 6.12.68 npm verbose node v24.12.0 npm verbose npm v11.6.2 npm verbose exit 1 npm verbose code 1 error: builder for '/nix/store/ryhglr8lla90269fx6xq53fqffm0cya7-goauthentik-docs-2025.12.1.drv' failed with exit code 1; last 25 log lines: > npm verbose stack at #run (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/commands/run.js:135:13) > npm verbose stack at RunScript.execWorkspaces (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/commands/run.js:67:24) > npm verbose stack at async Npm.exec (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/npm.js:208:9) > npm verbose stack at async module.exports (/nix/store/cikdc61gfwvdma6y0p9b5d5d448aqcv6-nodejs-24.12.0/lib/node_modules/npm/lib/cli/entry.js:67:5) npm verbose pkgid @goauthentik/docs-topics@0.0.0 npm error Lifecycle script `build` failed with error: npm error code 1 npm error path /build/website/docs npm error workspace @goauthentik/docs-topics@0.0.0 npm error location /build/website/docs npm error command failed npm error command sh -c run-s build:docusaurus build:copy npm verbose cwd /build/website npm verbose os Linux 6.12.68 npm verbose node v24.12.0 npm verbose npm v11.6.2 npm verbose exit 1 npm verbose code 1 npm verbose cwd /build/website npm verbose os Linux 6.12.68 npm verbose node v24.12.0 npm verbose npm v11.6.2 npm verbose exit 1 npm verbose code 1 ```
关闭于 2026-02-08 4 条评论