@o97doge could you help with this? Librekitten migrated to webpack 5 a while ago so you might have hit this
49% building 10/14 entries 4873/4910 dependencies 1320/1868 modules/home/amp/ampmod/node_modules/.pnpm/webpack@5.102.1_webpack-cli@6.0.1/node_modules/webpack/lib/util/AsyncQueue.js:346
if (inCallback) throw err;
^
TypeError: dependency.getCondition is not a function
at ModuleGraph.setResolvedModule (/home/amp/ampmod/node_modules/.pnpm/webpack@5.102.1_webpack-cli@6.0.1/node_modules/webpack/lib/ModuleGraph.js:245:15)
at /home/amp/ampmod/node_modules/.pnpm/webpack@5.102.1_webpack-cli@6.0.1/node_modules/webpack/lib/Compilation.js:2181:20
at /home/amp/ampmod/node_modules/.pnpm/webpack@5.102.1_webpack-cli@6.0.1/node_modules/webpack/lib/util/AsyncQueue.js:390:5
at Hook.eval [as callAsync] (eval at create (/home/amp/ampmod/node_modules/.pnpm/tapable@2.3.0/node_modules/tapable/lib/HookCodeFactory.js:31:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/amp/ampmod/node_modules/.pnpm/tapable@2.3.0/node_modules/tapable/lib/Hook.js:21:14)
at AsyncQueue._handleResult (/home/amp/ampmod/node_modules/.pnpm/webpack@5.102.1_webpack-cli@6.0.1/node_modules/webpack/lib/util/AsyncQueue.js:360:21)
at /home/amp/ampmod/node_modules/.pnpm/webpack@5.102.1_webpack-cli@6.0.1/node_modules/webpack/lib/util/AsyncQueue.js:343:11
at /home/amp/ampmod/node_modules/.pnpm/webpack@5.102.1_webpack-cli@6.0.1/node_modules/webpack/lib/Compilation.js:1490:4
at /home/amp/ampmod/node_modules/.pnpm/webpack@5.102.1_webpack-cli@6.0.1/node_modules/webpack/lib/Cache.js:98:34
at Array.<anonymous> (/home/amp/ampmod/node_modules/.pnpm/webpack@5.102.1_webpack-cli@6.0.1/node_modules/webpack/lib/cache/MemoryCachePlugin.js:44:13)