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: add nodejs runtime to authenticated root of erp

Brad Barbin9dd9737a5d53
diff --git a/apps/erp/app/routes/x+/_layout.tsx b/apps/erp/app/routes/x+/_layout.tsx
index 45b9484853..398de1af5e 100644
--- a/apps/erp/app/routes/x+/_layout.tsx
+++ b/apps/erp/app/routes/x+/_layout.tsx
@@ -28,6 +28,10 @@ import posthog from "posthog-js";
import { useUser } from "~/hooks";
import { getSavedViews } from "~/modules/shared/shared.service";
+export const config = {
+ runtime: "nodejs",
+};
+
export const shouldRevalidate: ShouldRevalidateFunction = ({
currentUrl,
defaultShouldRevalidate,