Troubleshooting
Find your symptom below. If none matches, copy the full error from the terminal into your AI assistant with: “Explain this error in one sentence, then fix it with the smallest change.”
My Change Doesn’t Show Up
- Did you change
config.toml? The terminal should print[toml-watcher] ✓ Generatedafter you save. If it prints✖ Conversion failed, the file has a format mistake (see File Formats). If it prints nothing, stopnpm run devwith Ctrl + C and start it again.trailingSlash,[settings.multilingual], a new language, andfonts.jsonalways need a restart. - Is the dev server running? The terminal should show
npm run devwithout errors. - Did you edit the right file? A page block overrides the section file, and the homepages and most inner pages have page blocks. Search the project for the old text to find where it really comes from. How Lotline Works explains the order.
- Is the key spelled right? Misspelled keys are ignored without an error in most files. Compare with the comments in the file.
- Is the page block named right? A block with a wrong name, for example
questionsSection:instead offaqSection:, is ignored without an error. Copy the name from Sections. - Is the value one of the allowed ones? In section files and the contact page file, a misspelled value such as a layout name isn’t reported. Copy the value from the comment next to it.
- Did you edit the other languages?
/fr/pages read thefrench/files, and/ar/pages read thearabic/files. - Hard-refresh the browser: Ctrl + Shift + R (⌘ + Shift + R on Mac).
A Listing Doesn’t Show On/properties/
- The file needs a
status("sale"or"rent") and aprice. A listing without either is left out. - Check
draft. A listing withdraft: trueis hidden. - Check that the file is in the folder of the language you are looking at. A home added to
english/only won’t show on/fr/or/ar/, andnpm run check-i18nreports the missing files. - The filters may be hiding it. Clear the search, or open
/properties/without anything after the?in the address.
The Filters Miss Some Homes
propertiesPerPage in [listings] is 0 by default, which puts every listing on one page so the filters see them all. With a number there, the list is split into pages. Set it back to 0 if your visitors search more than they browse.
A Listing Shows No Agent Or Neighborhood
agent and neighborhood in the listing must be file names, without .md, that exist in src/content/agents/<language>/ and src/content/neighborhoods/<language>/. A wrong name doesn’t fail the check. The card or link is just missing. Copy the name from the file list.
A Price Or Floor Area Looks Wrong
priceandareamust be plain numbers:615000, not"615,000"or$615000.- For a rental,
priceis the monthly rent. The “/mo” after it islistings.perMonthinsrc/i18n/<language>.json. - The currency comes from
currencyin[listings], and the number format fromlocale(empty follows the page language). - Changing
areaUnitdoesn’t convert the numbers. Updateareain every listing yourself. - The price on the featured card in the Properties menu is typed text in
src/config/menu.<language>.json. Change it there when the listing’s price changes.
A Section Or Page Disappeared
- Check
enablein the section file and in the page’s block. - Check
draftin the page or entry. - Check that the section’s line is still in the route file in
src/pages/[...lang]/. - For list pages, check
draftin the collection’s-index.md.
The Phone Number Or Call Link Is Missing
phone in [business] must be in international form: +, the country code, then digits only ("+15550100199"). Anything else prints a [business] warning and is ignored, and an empty phone hides every call link. Agent phone numbers are set the same way in each agent file.
A Menu Item Is Missing
Check "enable" on the item in each src/config/menu.<language>.json. "enable": false hides it. Items in the header show in the order of the file. An item with children opens its menu and isn’t a link itself, so put its own page first in its "children". See Menus.
An Icon Doesn’t Show
The icon name doesn’t exist in Lucide. Copy the exact name from lucide.dev/icons, for example "Trees" or "GraduationCap".
The Site Shows An Error After I Edited A File
- YAML (frontmatter): check indentation (2 spaces, no tabs), quotes around text with
:or#, and that list items start with-. - JSON (menus, i18n): check for a missing or extra comma, usually at the end of the item you edited.
- “Expected boolean, received string”: write
true, not"true". - “Expected number”: write
3, not"3". - An agent file fails with an unknown key: the agent schema is strict. Copy the keys of an existing agent and remove any you added.
- An
.mdxfile fails on a line with{,}, or<: put that text in backticks. This is also why{phone}and the other business tokens only work in.mdfiles.
Markdown, YAML, TOML & JSON explains each format.
An Image Doesn’t Appear
- Content images (
image:,gallery:, and theimageSrcof the<ImageItem>shortcode) live insrc/assets/images/, and the path starts with/images/./images/lotline/properties/my-home/cover.jpgissrc/assets/images/lotline/properties/my-home/cover.jpg. - A path that points at a missing file shows nothing, with no error. Check the exact file name, including upper and lower case and the extension (
.jpgvs.jpeg).
A Form Doesn’t Deliver
- Every form (viewing requests, inquiries, valuations, contact, and job applications) posts to
contactFormActionwithcontactFormProviderinconfig.toml. The shipped address is a placeholder, and the dev server shows a warning inside the form until you change it. - Formsubmit: confirm the activation email it sends after the first message.
- Formspree: the address must be your form’s own endpoint (
https://formspree.io/f/...), andcontactFormProvider = "formspree". - Netlify: form detection must be on in the Netlify dashboard,
contactFormProvider = "netlify", andcontactFormAction = "/". - Newsletter (the
pinefooter): the MailchimpformActionunder[settings.subscription]must be your list’s URL, with every&from the embed code changed to&. - Test from the live site after each change.
npm ciOrnpm installFails
- Check
node -v: it must be 22.12 or later. - Delete the
node_modulesfolder and runnpm ciagain. - Use npm, not Yarn or pnpm: the theme ships a
package-lock.json.
Build Fails With A Rename Or Cache Error
Don’t run astro-check, build, and dev at the same time in the same folder, because they share a cache. Stop everything, then run one command at a time. If it keeps failing, delete the .astro folder and try again.
astro-checkFails On Translations
npm run astro-check runs check-i18n first. It fails when a key exists in src/i18n/en.json but not in another language’s file (or the reverse), when a key in en.json isn’t read by any code, when a language’s menu has a different structure from the English one, or when a content file exists in one language folder only. Add the missing key, menu item, or file to the other language. If you don’t need a language, see Internationalization.
The Build Warns About The Site URL
A yellow [site] The site URL is still a placeholder line in the npm run build output means [site] baseUrl is still https://example.com. Set it to your real address in config.toml, or set a SITE_URL environment variable for the build.
The Live Site Has Wrong Links Or Previews
Set [site] baseUrl in config.toml to your real address and deploy again. If your host sets a SITE_URL environment variable, it wins over baseUrl, so check that value too. After you change the logo, tagline, or description, run npm run generate-og-image to redraw the shared social image.
A “Change Layout” Button Shows On My Site
That button belongs to the theme’s demo. Set enable = false under [settings.layoutSwitcher] in config.toml and build again.