actualbudget/actual · error · CompileError

getCompileError(e, state.compileStack)

Error message

getCompileError(e, state.compileStack)

What it means

Error "getCompileError(e, state.compileStack)" thrown in actualbudget/actual.

Source

Thrown at packages/loot-core/src/server/aql/compiler.ts:1184

    }

    if (groupExpressions.length > 0) {
      const result = compileGroupBy(state, groupExpressions);
      groupBy = 'GROUP BY ' + result;
    }

    // Orders don't matter if doing a single calculation
    if (orderExpressions.length > 0) {
      const result = compileOrderBy(state, orderExpressions);
      orderBy = 'ORDER BY ' + result;
    }

    if (state.paths.size > 0) {
      joins = compileJoins(state, tableRef, internalTableFilters);
    }
  } catch (e) {
    if (e instanceof CompileError) {
      throw getCompileError(e, state.compileStack);
    }

    throw e;
  }

  const sqlPieces: SqlPieces = {
    select,
    from: tableRef(tableName),
    joins,
    where,
    groupBy,
    orderBy,
    limit,
    offset,
  };

  return {
    sqlPieces,

View on GitHub (pinned to d4334cb6e6)

When it happens

Trigger: Thrown at packages/loot-core/src/server/aql/compiler.ts:1184 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of actualbudget/actual@d4334cb6e6 (2026-08-29). Data as JSON: /api/errors/73d734df2c9c735e. Report an issue: GitHub.