Troubleshooting and FAQ
Find what you see in the left column. If it isn't here, see Getting help.
Installing and running
| You see | Why, and the fix |
|---|---|
pnpm: command not found |
pnpm isn't installed. Run corepack enable (comes with Node), or use npm install / npm run dev instead. |
The engine "node" is incompatible / Unsupported engine |
Node is older than 22.18. Install the current LTS from nodejs.org and check with node -v. |
pnpm seed: Unknown file extension ".ts" |
Same cause: Node runs the TypeScript scripts itself from 22.18. Update Node. |
Port 3000 is already in use (or 5173) |
Another app is running. Stop it, or run on another port: pnpm dev -- -p 3001 (Next.js) or pnpm dev -- --port 5174 (Vite). |
Cannot find module '…' right after downloading |
Dependencies aren't installed. Run pnpm install inside pulze-nextjs or pulze-vite, not in the folder above it. |
| A change doesn't show up | Save the file; check the terminal for an error. Changes to .env.local and seed.config.ts need pnpm dev restarted. |
| Strange CSS or build errors after upgrading packages | Clear the build cache: delete .next/ (Next.js) or node_modules/.vite/ (Vite), then run pnpm dev again. |
Hydration failed in the console (Next.js) |
Usually a browser extension that edits the page (translators, password managers, dark-mode add-ons). Try a private window. If it's your own code, see Your own pages. |
Tests
| You see | Why, and the fix |
|---|---|
Executable doesn't exist / Looks like Playwright … was just installed |
The test browser isn't downloaded yet. Run pnpm exec playwright install chromium once. |
Timed out waiting … from config.webServer |
The build failed or took over 4 minutes. Run pnpm build on its own to see the error. |
Port 3310 is already in use (or 4310) |
A previous test server is still running. Stop it, or change the port in playwright.config.ts. |
| The smoke test fails on a page I changed | It expects one <h1> and the tab title from routes.ts. Keep a PageHeader (it renders the <h1>), or update the test. |
| An accessibility test fails after I changed colours | The new colour is too light for text. The message names the element and the contrast; see Theme › Keeping text readable. |
Building and deploying
| You see | Why, and the fix |
|---|---|
pnpm build fails with a type error |
Run pnpm typecheck to see every error with its file and line. Fix them one by one; the message names what's wrong. |
Vite: refreshing /apps/kanban on the host shows 404 |
The host needs a "send every path to index.html" rule. Pulze includes vercel.json and public/_redirects; other hosts: Deploy. |
| The live site uses old text or colours | The browser or CDN cached the old files. Hard-refresh (Shift+reload), or redeploy. |
Environment variables are undefined in the browser |
Browser-visible variables need the prefix: NEXT_PUBLIC_ (Next.js) or VITE_ (Vite). Add them on the host too, then rebuild. |
| Social share image shows the wrong site | url in site.config.ts still points to the demo address. |
Look and feel
| You see | Why, and the fix |
|---|---|
| My new default colour or layout doesn't show | Your browser saved your own theme choice, which wins over defaults. Use Reset in the theme drawer, or clear the pulze-theme key in site data. |
| The theme drawer button is missing | theme.allowCustomise is false, or the window is narrower than 640 px (use ⌘K › "Open theme settings"). |
| Nothing animates | Your device asks for reduced motion (Pulze respects it), or animations are off in the theme drawer, or enabled: false in config/motion.ts. |
| A white flash before dark mode | The theme script in <head> was removed. Restore themeInitScript() in app/layout.tsx (Next.js) or vite.config.ts (Vite); see Theme. |
| My logo is blurry or squashed | Use SVG, or a PNG at least 64 px tall. The logo shows 32 px tall and keeps its own proportions. |
| A "Live demo · Buy Pulze" badge shows | Set demo: false in site.config.ts. |
| Numbers in tables don't line up | Use the formatMoney / formatNumber helpers and keep the tabular-nums class on number cells. |
Pages, menu and data
| You see | Why, and the fix |
|---|---|
| My new page is a 404 | It isn't in config/routes.ts, or (Next.js) you didn't run pnpm routes:sync. See Adding a page. |
| An app's pages are a 404 and its menu item is gone | It's turned off in siteConfig.apps. That's what the switch does; see Navigation. |
| A menu item is missing | hidden: true, or its app is turned off. |
Sample data didn't change after editing seed.config.ts |
Run pnpm seed, then restart pnpm dev. |
| Dates in the sample data move every day | On purpose: the fake API shifts them so the demo always looks current. Your real API won't do this. |
| Amounts are 100× too big or small | Money is stored in cents (minor units). Convert once in the API function: Math.round(price * 100). See Data and API. |
| Everything shows "Something went wrong" | The URL has ?error, which makes the fake API fail on purpose. Remove it. (?empty shows the empty states the same way.) |
| Currency or dates in the wrong format | Set locale, currency and timeZone in site.config.ts; see Formatting. |
Sign-in
| You see | Why, and the fix |
|---|---|
| Any email and password signs me in | You're still on the demo adapter. Connect a provider: Authentication. |
| The lock screen appears while I'm working | It appears after lockAfterMinutes without mouse, keyboard or touch. Change it in Settings › Security, or set 0 to turn it off. |
| After signing in I always land on the dashboard | The protection didn't add ?from=. Use the proxy.ts / guard from your provider's guide, which does. |
| Provider errors | Each guide has its own table: Firebase, Better Auth, Clerk. |
Your own pages
| You see | Why, and the fix |
|---|---|
Hydration failed / "text content does not match" |
Something renders differently on the server and in the browser: Date.now(), Math.random(), window or localStorage during render. Move it into an effect, or into an event handler. |
useSearchParams() should be wrapped in a suspense boundary |
Next.js needs a <Suspense> around components that read the URL. Wrap the part that calls it, as Pulze's pages do. |
Next.js: `pages` and `app` directories should be under the same folder |
You created a pages/ or src/pages/ folder. Next.js reserves that name for its older router; use another name (Pulze's own pages are in src/screens/). |
Importing from next/link breaks the Vite version |
Pages must use the navigation adapter: const { Link, useNavigate } = useNav() from @pulze/lib. Then the same page works in both. |
| A chart is empty or zero height | Charts fill their parent: give the parent a height (for example h-64), or use ChartCard, which does. |
| My component ignores compact density | Use the spacing utilities p-page, p-card, gap-gap, h-row instead of fixed sizes; see Theme. |
FAQ
Do I need to know Next.js to use Pulze? No. If you know React, either version will feel familiar. Start with the Vite version if you've never used Next.js.
Can I use npm or yarn instead of pnpm?
Yes. npm install and npm run dev work the same. Delete pnpm-lock.yaml
first so the lock files don't disagree.
Does Pulze include a backend or a database? No. It ships a fake API with sample data so everything works on day one. You connect your own backend one area at a time: Data and API, with Supabase and Firebase examples.
Is there a JavaScript (non-TypeScript) version?
No. TypeScript catches most mistakes while you edit, and you can write your
own files in plain JavaScript (.jsx) next to Pulze's if you prefer.
Can I delete the pages I don't need?
Yes. Turn whole apps off in siteConfig.apps, or remove single pages as
described in Adding a page › Removing a page.
Can I use it with an older Next.js (15 or 14)?
Not as it is. Pulze uses Next.js 16 features (proxy.ts, the new caching
and error-page props). Use the Vite version if you're tied to an older
setup.
Can I use another component library (MUI, Chakra, Mantine)? You can add one next to Pulze's components, but the pages are built with Tailwind and Pulze's own blocks. Mixing two design systems usually looks uneven, so most people stay with one.
Is there a Figma file?
Not in v1. The theme drawer and theme.css hold every design decision
(colours, radius, density, fonts).
Do updates cost extra? No: updates to the version you bought are free. How to bring an update into a project you've changed is in Updating Pulze.
Can I use Pulze for a client project? Yes, one end product per purchase. Building for a second client needs a second licence. See Your licence, in plain words.
Can I publish my project on GitHub? A private repository is fine. In a public repository, Pulze's source would be available for anyone to copy, which the licence doesn't allow; keep the repository private.