The Missing GitHub Icon That Broke My Production Build A developer building K-XpertAI, an AI agent that manages files in a live project workspace, encountered a production build failure on Vercel caused by a missing `Github` icon export from the `lucide-react` library. The icon had been silently removed from the library's default exports due to trademark concerns, but local development cached the old version, masking the issue. The fix involved replacing the import with a small inline SVG component. This is a submission for DEV's Summer Bug Smash: Smash Stories powered by Sentry. I'm building KingxTech https://kingxtech.name.ng , and specifically K-XpertAI — an AI agent that reads, writes, and deletes files in a live project workspace, then hosts the result instantly. Under the hood it's a React 19 + Vite frontend talking to a TypeScript/Express backend on Cloud Run. I'd just shipped a big batch of changes to the workspace UI — a proper code editor, a file tree with GitHub import/export buttons, a terminal tab. Pushed to GitHub, Vercel kicked off the deploy... and it failed. Error: Command "npm run build" exited with 1 Digging into the build log, the real error was buried a few lines down: js 15 │ import { File as FileIcon, Folder, FolderPlus, FilePlus, Trash2, Save, │ RefreshCw, Undo2, Copy, ExternalLink, Code2, Eye, Rocket, │ TerminalSquare, Upload, Maximize2, Minimize2, Github, FolderInput, │ SlidersHorizontal, Info, Plus } from "lucide-react"; │ ───┬── │ ╰──── Missing export Vite's bundler via Rolldown was telling me Github didn't exist as an export in lucide-react — but only in Vercel's build. It worked fine in local dev. That's the kind of bug that makes you doubt your own eyes: the icon was clearly imported the same way as a dozen others on that same line that worked perfectly. First instinct: check the installed version. "lucide-react": "^1.23.0" Nothing obviously wrong there. So instead of guessing at what icon names should exist, I installed that exact version in an isolated sandbox and just asked the module directly: js const icons = require 'lucide-react' ; const names = 'Github', 'FolderInput', 'SlidersHorizontal', / ...the rest / ; for const n of names { console.log n, typeof icons n == 'undefined' ? 'OK' : 'MISSING' ; } Github MISSING FolderInput OK SlidersHorizontal OK ...everything else OK There it was. Every icon in that import worked except Github . lucide-react — like a lot of modern icon libraries — has been progressively removing brand/trademark logos GitHub, Twitter, etc. from its default export set, pushing people toward dedicated brand-icon packages instead. Somewhere between versions, the plain Github icon quietly stopped being exported. Local dev didn't catch it because of caching in node modules from an earlier install; a clean Vercel build fresh npm install every time surfaced it immediately. The fix wasn't "install a different package" — it was small enough to just inline: js // Before: relying on a brand icon that no longer ships import { Github } from 'lucide-react'; // After: a tiny local SVG component instead function Github { size = 14 } { return