Troubleshooting
Tailwind v4 unknown utilities (e.g., border-border)
- Ensure
@themetokens are defined before@import "tailwindcss"inapp/globals.css. - Include
@plugin "tailwindcss-animate"if you use animate utilities.
Docs CSS not applying
- Import
nextra-theme-docs/style.cssinapp/docs/layout.jsx. - Remove hard overrides like
background-color: #000 !importantfrom global styles.
Vercel pnpm lockfile error
- Add
"installCommand": "pnpm install --no-frozen-lockfile"tovercel.json. - Commit updated
pnpm-lock.yamlafter dependency changes.
Corepack errors locally
- If
pnpmvia corepack fails, usenpm installlocally, but keeppnpm-lock.yamlin repo for CI.
Last updated on