Repository navigation
Troubleshooting
The shop has no OAuth client for sign-in. Set up the shop's OAuth client id (shop dashboard, or the Selldone MCP connector's selldone_shop_client_create). See Shop Requirements.
A chunk imports ../shop.js, so the app loads twice through Selldone's redirect. Keep shared code in the core chunk and don't use experimentalMinChunkSize (both in vite.config.ts). When you add a chunk group, keep its rule: a module joins a group only when everything it imports outside core is in the same group. release.sh refuses a build with ../shop.js imports, and its production-bundle check (step 5b) refuses a build that does not draw the home in a real browser.
Nothing was uploaded, and the version number is not used up. The built bundle did not draw one of home, a collection, a product, the journal, a post, the bag or the checkout, or a page error happened. The lines above the message name the page and the error.
| Message | Fix |
|---|---|
FAIL home, then "the home did not draw; the bundle does not start" |
The build itself is broken, typically a chunking change (code that runs before what it needs). Undo the last change to vite.config.ts or to what the entry imports, rebuild and run scripts/pralino-prod-check.mjs dist/app again. |
FAIL category: no collection link on the home / FAIL product / FAIL post
|
The page before it drew, but had nothing to follow: the shop in SHOP_URL has no collections, products or posts. Use a shop with data (the default https://pralino.selldone.shop has them). |
| "has no private Layout release in its loader" | The SHOP_URL domain has no Layout pinned, so there is no loader to point at the build. Use the default, or a domain of yours with a Layout pinned. |
Cannot find module / an error naming Playwright |
PW does not point at your Playwright: set PW=<path>/node_modules/playwright/index.js, and run npx playwright install chromium once. |
| "no dist/app/shop.js" | Build first (npm run build-production, or run the whole release.sh). |
Fix the cause and run release.sh again with the same version number.
Selldone stores the MIME type it sniffs from each file. Every JS file must start with "use strict";: that is sniffAsJavaScript in vite.config.ts. Check with file --mime-type dist/app/js/*.js.
| Message | Fix |
|---|---|
CHECK FAILED from release.sh, with files: over 300 |
Too many files. Pralino's release refuses more than 300 (1.0.0 has 281; each photo in assets/pralino/ adds one, and a new dependency can add many). Remove what you added, or group it with the code it travels with in vite.config.ts. |
| "The manifest must be an array." | Upload with scripts/kalio-deploy.mjs, not the plain CLI. |
| "Archive paths must be safe relative app/ paths." | Remove dist/index.html, and use no spaces or brackets in file names. |
| "Active SVG attributes" / "only passive vector shapes" | Run node scripts/kalio-svg-flatten.mjs dist/app. |
| Request cut off after ~100 s, and the version exists but is empty | Too many files reached the server. Stay at 300 or fewer, then upload a new version number. |
| 401 | The CLI is signed out (~/.selldone-dev/.persist is empty). Run selldone → Login. |
node: bad option: --use-system-ca |
Your Node.js is too old for the release scripts. Use Node.js 22.15 or newer. |
- The version isn't attached yet: see Go Live.
- A custom domain keeps its own selection. Attach the version to that domain, or set it to inherit.
- You checked a URL with a query. Open the plain address and read
window.sdShopLayout. - The ZIP was stale: always package with
--forceand compareshop.jswithcmp.
The Home is a Page Builder page. Set Home to Shop for the shop, or for that domain: see Go Live.
Selldone keeps the description of the first upload; later uploads do not change it. Write the description before the first upload.
Its photo has its own ground. Pralino sets every pastry on a tinted plate (the family's dark plate in dark mode), so the main photo must be a transparent cut-out (PNG or WebP). Replace the photo in Selldone; no release is needed. See Shop Requirements.
Selldone's CDN keeps product photos only at their original size and as a 128 px thumbnail; any other size is a 404. In code, use productImage(p) (the original, in components/pralino/pr.ts) for anything wider than a thumbnail, and productImage(p, 128) only for small thumbnails.
That is the slot's designed fallback: the Layout has no file for it. Add assets/pralino/<exact name>.webp (pralino-hero-back.webp, pralino-about.webp…; for a collection, pralino-col-<slug of its title>.webp, as in pralino-col-mini-cakes.webp), then build and release a new version: the files are listed at build time. See Customize.
The repository ships Bakio's six collection photos (pralino-col-cookies, pralino-col-croissants, pralino-col-danish-pastries, pralino-col-mini-cakes, pralino-col-muffins, pralino-col-tarts in assets/pralino/). A collection of yours whose title (or address name) makes the same slug picks one up. Replace the file with your own photo, or delete it (the collection then shows its best sellers on a plate), and release a new version. The same goes for the eight slot photos: they were made for Bakio, and you can replace or delete any of them.
Each section folds away without its data, or shrinks to what the shop has:
| Section | Needs |
|---|---|
| The hero's collection names | collections with products (the hero itself always shows your shop's name) |
| in numbers | collections, a saving, open days or delivery ways (it shows four, two or one; never a count of products) |
| The collections people order most | collections with products (four, two or one rows) |
| The courier's card in How ordering works | a courier delivery way |
| The courier's numbers | a courier with time windows or a distance, or a shipping way with a free-shipping threshold |
| ways to receive it | delivery ways |
| The gallery | collections with products |
| Today's selection | products in stock |
| The marquee | collections |
| The journal | published articles |
About, How ordering works, the offer card and the photo band always show; their lines come from the shop info, the delivery ways, the payment way and the savings, and wait until the shop's details have loaded. About's Delivery, Pickup and Payment links show only for what the shop has. See Shop Requirements.
That is by design: the top bar's hours, way to pay and pickup street (and the phone and email) wait until the shop's own details have loaded, so no line is drawn half-made and then rewritten. If they never appear, the shop info has no open days, hours, payment method or pickup point: see Shop Requirements.
From 1.0.1 Pralino draws one page frame, 1920 px wide and centred: every photo that runs to an edge (the hero's, How ordering works, the journal, the photo band, a collection's title band) stops at the frame's edge, so the hero and the sections below share the same left and right edges, and the content column grows a little (up to 1600 px) on big screens. Wider than the frame, the sides show the page's own ground. Nothing is sized from the window, so text never squeezes into a thin column. If you see a strip with a full-width hero, the shop still runs 1.0.0: attach 1.0.1 or newer (Go Live).
On the first page load of a browser session Pralino keeps its own loading picture (the same as the domain's loading screen) until the shop's data, the collections and the first page are in and the first photo has decoded, and at least 1.2 s after the visit began, so the ring turns once; it is always gone by 4 s and never shows again in that session. With reduced motion it has no minimum and no animation. It lives in components/pralino/shell/PralinoSplash.vue.
Deals lists the pieces that have a saving. Give the other pieces a discount, or find them on their collection page and in search.
That is by design: Shop ⌄, the search and the menus open on a click and close on a second click, Esc, a click outside or a page change.
They are read from the pickup point's note, as a time range: 8:00-18:00, 8:00–18:00 or 8:00 to 18:00, else from the shop info's hours line. Write them that way. Without a range, the hours are left out everywhere; nothing is guessed.
The city comes from the shop info's address (its locality), else from the pickup point's city. Fill it in the Selldone dashboard; no release is needed.
The windows are your delivery ways' own time spans. Add them to each delivery way in the Selldone dashboard. A window shows only for the way that offers it.
Neither the shop info nor the pickup point has a location. Set the shop's location on the map in the Selldone dashboard. Without one, Contact shows the map's calm water colour and the pin only.
- Specs must be flat, plus
spec_order. A nested spec is not shown anywhere. - A key whose every value is longer than 80 characters, or that has one value longer than 30 characters, is a note, not a filter: it stays in the product page's Additional information. Keys with two or more different values come first. Price is always there, and On offer when something on the page has a saving.
See Shop Requirements.
The product has variants. The quick view sends the shopper to the product page, where the options are chosen. This is by design.
The shop has no payment method for this currency. Add one in the Selldone dashboard (cash on delivery is fine). Pralino shows this line instead of a Place order button that opens an empty window; the bag is kept.
The shop has not written that page yet. The sample is built only from your shop's facts. Write the page (or the FAQ entries) in the Selldone dashboard and the label goes away.
The panel in a post shows the pastries its text links to (/product/<id> links, four at most), else the ones it names. Link the pastries in the article's text.
That is by design: links inside a post's own text are the only underlined words in the Layout, so a reader can tell them from the text. Everywhere else no word or icon has a line under it.
That is by design: with themeSwitcher: "showcase" it shows only on the Layout's own showcase shops. Set themeSwitcher: "on" in components/pralino/pralino-theme.settings.ts to give your visitors the switcher. See Theme and colours.
Every palette re-tints the whole page (bands, plates, lines, words, the dark top bar and footer) through components/pralino/pralino-family.ts, which builds the family from the palette's seed in PRALINO_SEEDS. A palette added to components/pralino/pralino-theme.ts without its seed there gets the Tan family under its own action colour. For your own shop, don't add a palette: set brandColor in the settings file, and the family is built from that colour. If you edited style/pralino-theme.scss to change the colours, undo that: it holds only the Tan first paint, and the family rewrites it after the app starts.
Those are Selldone's own components using the theme colour. Pralino's switcher writes the palette into --pr-act* and the inherited --bk-act* names, from which the shared tokens (style/kalio-tokens.scss) set --v-theme-primary, and pralino-family.ts paints Vuetify's theme colours from the palette's family; if a part still shows Selldone's purple, make it read that variable rather than a fixed colour. To change the colours themselves, use the settings file, not the tokens.
The shop has custom header or footer code in Selldone. A shop with its own code keeps Selldone's header or footer (layouts/StorefrontLayout.vue). Remove the custom code to get Pralino's.
Those files are generated from the mockup by scripts/pralino-css.cjs. Put the change in style/pralino-layout.scss instead. See Customize.
Pralino keeps one shape language: a circle for round things, 8 px for panels and photos, 4 px for inner parts, square only where a band meets the window's edge. A part that breaks it is usually one of Selldone's own pieces, or a new rule of yours: map it onto --pr-r-pn or --pr-r-in in style/pralino-layout.scss, and run scripts/shape-check.cjs (see Theme and colours).
A headless browser opening a /product/ link directly gets Selldone's SEO page. Open the home first and move with the Layout's links, or test in a normal browser or the dev server.
mapbox-gl.css sets position: relative on the map; its canvas must stay position: absolute (style/kalio-checkout.scss). The address sheet uses the streets-v12 style. Search finds streets and numbers, not landmarks. With the checkout map off, the address sheet is a short form with search instead.
Vuetify's .v-application has overflow: hidden, which stops anything sticking. style/pralino-layout.scss switches it to overflow: clip (the header and the product page's buy column stick); keep that rule if you restyle the page.
Selldone's storefront history contains Selldone's public Mapbox browser key (pk.). It has been public in selldone/storefront since 2023. Allow it once with the link GitHub prints, or remove it from your own commits.
If it is your shop's data (a product, collection, unit, pros, spec or article), translate it in the Selldone dashboard. If Pralino writes it, it is a string not yet wrapped in t(): wrap it with a new pralino.… key, add the key to pralino.en.ts and to each pralino.<code>.ts (Arabic: pralino.ar.ts), then build and release. See Customize.
The language list is the shop's own. If your shop sells in English only, set localStorage["pralino-dev-languages"] = "ar" in the browser's console on the dev server and reload: Arabic is then offered in the language and currency pill (dev build only).
Selldone limits how many requests one address may send in a minute. Many test browsers at once (or several Layouts tested from one computer) reach it; shoppers do not. Pralino tries its shared reads up to four times, pausing as Selldone's Retry-After says; wait a minute and reload. Run the checks one at a time.