Skip to Content
PlatformTroubleshooting

Troubleshooting

Tailwind v4 unknown utilities (e.g., border-border)

  • Ensure @theme tokens are defined before @import "tailwindcss" in app/globals.css.
  • Include @plugin "tailwindcss-animate" if you use animate utilities.

Docs CSS not applying

  • Import nextra-theme-docs/style.css in app/docs/layout.jsx.
  • Remove hard overrides like background-color: #000 !important from global styles.

Vercel pnpm lockfile error

  • Add "installCommand": "pnpm install --no-frozen-lockfile" to vercel.json.
  • Commit updated pnpm-lock.yaml after dependency changes.

Corepack errors locally

  • If pnpm via corepack fails, use npm install locally, but keep pnpm-lock.yaml in repo for CI.
Last updated on