Skip to main content
Question

CRITICAL BUG REPORT: Figma Make Publish Broken - Preview Works, Published Site Shows Blank Page

  • May 9, 2026
  • 0 replies
  • 1 view

Venu

CRITICAL BUG REPORT: Figma Make Publish Broken - Preview Works, Published Site Shows Blank Page

Issue Summary: Figma Make Preview mode works perfectly, but the Published site at https://a2aiplatformupdated.figma.site/ consistently shows a blank page. This has persisted across 30+ publish attempts and multiple debugging approaches.

Error Details:

  1. Console Error: "Failed to execute code layer q: Code export Code8_410.default (Code8_410) is not a function"
  2. Console Error: "Root element not found!"
  3. Reference Error ID: 6aa83328-9e7f-4205-8c99-5fcfb5e5307f

What Works: ✓ Preview mode displays the full application correctly ✓ Build completes successfully (301KB bundle, 1997 modules) ✓ figma__entrypoint.ts correctly exports component loader: export const Code8_410 = () => import('./src/app/AppFinal.tsx'); ✓ AppFinal.tsx has valid default export: export default function AppFinal() { ... } ✓ Minimal test component (AppMinimal.tsx with zero dependencies, inline styles only) ALSO shows blank page when published

What Fails: ✗ Published site shows blank white page ✗ Console shows "Code export Code8_410.default is not a function" ✗ Published site tries to load main.tsx (expecting index.html with root element) instead of using Figma Make's component loader

Technical Context:

  • Project: A²AI SAP consulting platform (React 18.3 + TypeScript + Tailwind CSS v4)
  • Figma Make file: https://a2aiplatformupdated.figma.site/
  • Published URL failing across all version codes (Code0_8 through Code8_450)
  • Build system: Vite 6.3.5
  • Component export pattern follows Figma Make documentation

Debugging Attempts (30+ iterations):

  1. Removed all React Router dependencies
  2. Created router-free components (AppSimple, NavigationSimple, FooterSimple)
  3. Switched from HashRouter to state-based navigation
  4. Tested with minimal component (AppMinimal - no imports, inline styles only)
  5. Verified export syntax matches Figma Make requirements
  6. Added multiple version code exports (Code0_8 through Code8_450)
  7. Removed index.html script tags
  8. Changed component file names (App.tsx → App-8.tsx → AppFinal.tsx → AppMinimal.tsx)

Critical Finding: The fact that even AppMinimal.tsx (a component with ZERO dependencies, just inline styles and basic HTML) shows a blank page when published confirms this is a Figma Make platform issue, not a code issue.

Request:

  1. Investigation into why Publish differs from Preview mode
  2. Why published site expects index.html/main.tsx instead of using figma__entrypoint.ts component loader
  3. Token refund for 90,000+ tokens spent debugging this platform issue over 2+ hours

This report has been submitted to Figma Support. They should follow up with you about the platform issue and token refund request.