Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: use nodejs runtime for generating css

Brad Barbin4eeb574587b9
diff --git a/apps/carbon/app/routes/assets+/theme[.]css.ts b/apps/carbon/app/routes/assets+/theme[.]css.ts
index e2f2f7cfdf..72d6d89e19 100644
--- a/apps/carbon/app/routes/assets+/theme[.]css.ts
+++ b/apps/carbon/app/routes/assets+/theme[.]css.ts
@@ -2,6 +2,8 @@ import { getThemeCode, themes } from "@carbon/utils";
import type { LoaderFunctionArgs } from "@vercel/remix";
import { getTheme } from "~/services/theme.server";
+export const config = { runtime: "nodejs" };
+
export async function loader({ request }: LoaderFunctionArgs) {
const theme = getTheme(request) as string;