π₯΅ I had this last month while deploying stegg.alifeinbinary.com to github pages. It turned out that I was defining a env var in the GH-pages deploy script for BASE_URL that was causing a conflict. The lesson: if npm run build, and npm run preview, tsc, and all tests pass then itβs probably env vars!