CLI install issues
Pro command returns auth errors
Symptoms:
- 401/403 when running tokenized
shadcn addcommand.
Checks:
- Re-copy command from the pattern page.
- Run immediately (token may be short-lived).
- Confirm your account has access to that pattern.
Installed files compile with missing deps
Checks:
- Install suggested npm dependencies.
- Re-run
pnpm install. - Re-run type check and lint.
Download-as-app issues
Zip downloads but app fails on first run
Most common root causes:
- missing
.env.localvalues - missing provider keys
- external service configuration not completed
Download denied
- Free/pro access checks run before zip creation.
- Confirm you are authenticated and entitled to the selected template.
Runtime issues after import
API route mismatch
For pro app downloads, internal preview paths are rewritten to /api/*. If calls still fail:
- inspect generated API path references
- verify route files exist in generated app
- confirm dev server restarted after env updates
AI/tool behavior differs from preview
Preview and local environments can diverge due to:
- different model/provider keys
- rate limits
- absent external services
Fast debug checklist
pnpm install
pnpm lint
pnpm typecheck
pnpm devThen verify:
- env vars loaded
- route resolves
- network request status and payload shape
- provider-side logs/errors
Join The Beta
Copy and Paste 93+
ai sdk patterns.
ai sdk patterns.
Get early access pricing and shape the future of the product.
Go to pricing