CLI
Troubleshooting
What the CLI's messages mean and how to fix them.
Your API key
No API key found
The CLI found no key in --auth, your config, your shell or your .env files. Copy your key from Account settings → API and add it to .env in your project's root:
MOTIONUIKIT_API_KEY=your_keyOn a terminal, add asks for the key and saves it to .env for you.
Your API key was rejected
The key is wrong or no longer valid, for example because it was regenerated. Copy the current key from Account settings → API and replace the old one in .env. Run npx motionuikit@latest whoami to check which account a key belongs to.
The config references a variable that isn't set
motionuikit.config.json names a variable in apiKey, such as ${MOTIONUIKIT_API_KEY}, that isn't in your shell, .env.local or .env. Add it to .env with that exact name.
Limits and access
You've used 10 of 10 installs today
You reached your daily limit for that kind of resource. Nothing was installed and the attempt wasn't counted. The message says when the limit resets (00:00 UTC). Check what is left with remaining-usage, or see Plans & limits to raise your limits.
"…" is a pro item
The resource needs a paid plan. See the pricing page.
Too many requests
You sent many requests in a short time. Wait the number of seconds the message shows, then try again. The CLI doesn't retry this on its own.
Installing
"…" not found. Did you mean: …?
There is no resource with that name. Use one of the suggestions, or find the name with list or search.
Skipped … — already exists (use --overwrite)
A file with that name was already there, so it wasn't replaced. Run add again with --overwrite to replace it, or answer y or a when asked.
No motionuikit.config.json in this project, and no terminal to ask about it
add needs a config, and without a terminal it can't run init's questions. Run init --yes first (with --no-typescript in a JavaScript project), then add.
This project can't resolve "@/" imports
Your project has no @/ alias, and the CLI couldn't ask about it. Run init --force --yes to set it up, or add "importStyle": "relative" to motionuikit.config.json to use relative imports instead. See The @/ alias.
Couldn't install automatically
The files were written, but the package manager failed (often because you are offline). Run the command the CLI prints, in the folder it names.
"…" isn't available for html yet
That resource has no HTML version, and none are published yet. Set "framework": "react" in motionuikit.config.json, or pass --framework react.
Styles
Components or sections show no styles
Tailwind CSS v4 isn't running in your project. Check that:
- your global stylesheet starts with
@import "tailwindcss";(in Astro,@import "tailwindcss/index.css";); - that stylesheet is imported by your app (your Vite entry, Next.js's
app/layout, or your Astro layout); - your PostCSS config loads
@tailwindcss/postcss, or you use the@tailwindcss/viteplugin.
If you declined the setup, "tailwind": false is in motionuikit.config.json. Remove it, and the next add offers the setup again.
A section's colors or fonts are missing
Sections need Tailwind CSS v4. Check that the section's stylesheet is still loaded:
- if
motionuikit.cssexists next to your global stylesheet, it must list the section (@import "…/sections/<name>/index.css";) and your global stylesheet must import it (@import "./motionuikit.css";); - otherwise the section's
indexfile imports its stylesheet; keep that import when you move or edit the section.
Build error: can't resolve …/sections/<name>/index.css
You deleted or moved a section's folder, but motionuikit.css still lists it. Run any add (it drops lines whose file is gone), delete that @import line yourself, or remove sections with npx motionuikit@latest remove <name>, which updates the file for you.
Vite: a section is squeezed, centered or uses the wrong fonts
A new React + Vite project comes with demo styles that apply to the whole page. In src/index.css, they limit #root to a fixed width and center it, center all text, and set their own colors, fonts, dark mode and heading margins. src/App.css styles the demo page. Sections are built to fill the page, so these styles squeeze them into a narrow column and change their text.
Remove the starter styles you don't use. If you don't need any of them, keep only the Tailwind import in src/index.css:
@import 'tailwindcss';and delete src/App.css along with its import './App.css' line in src/App.jsx (or App.tsx).
Astro: the page's styles come out wrong
In Astro, styles apply in the order they are imported. Import your global stylesheet first, on top of any component or section, so the section's own styles load after it and aren't overridden:
---
import '@/styles/global.css'
import Arcline from '@/components/motionuikit/sections/arcline'
---
<Arcline client:load />Do the same in a layout: import '@/styles/global.css' is its first import. A project whose srcDir is the root uses the same path, since @/ points at the root there.
In a monorepo
This is a workspace root. Which app did you mean?
Run the command inside an app, or add --cwd apps/web (the CLI lists each app).
Still stuck?
Run the command with --dry-run to see what it would do, and info to see how the CLI reads your project. Then contact support with the command you ran and its full output. Leave out your API key.