Current limitations
- You can’t create Embeddables from the CLI; you can only pull and edit existing Embeddables (create new ones in the Builder).
- Asset browsing and deletion are not yet available from the CLI. Use the Builder to browse the full asset library or delete assets. To upload local assets and reference their URLs in code, use
embeddables assets uploadand thenembeddables assets syncto pull the URLs intoassets.json. - No creating new branches/experiments from the CLI; you can connect to existing ones (
embeddables branch,embeddables experiments connect). embeddables devdoesn’t yet work for Embeddables that use the CMS feature; use the Builder preview or a deployed embed for those.- Multi-language Embeddables are supported in round-trip compilation; some edge cases with complex language configurations may still arise — report them if you encounter them.
- Internet required for the dev server when using the default (remote) Engine.
Common issues
“No Embeddables found” or “No Embeddable selected” when running dev or save
“No Embeddables found” or “No Embeddable selected” when running dev or save
embeddables.json and the embeddables/ folder are), or from inside embeddables/<id>/ so the CLI infers the Embeddable, or pass -i <embeddable-id>. If you haven’t pulled yet, run embeddables pull first so that embeddables/<id>/ exists.Port 3000 is already in use
Port 3000 is already in use
embeddables dev --port 3001.Preview URL loads but shows a blank or wrong Embeddable
Preview URL loads but shows a blank or wrong Embeddable
?id=<embeddable-id>&version=latest. If you have multiple Embeddables, make sure the ID in the URL matches the one you’re editing and the one that is running in the dev server. Restart embeddables dev and do a hard refresh (e.g. Cmd+Shift+R).Build fails: “duplicate id” or “duplicate key”
Build fails: “duplicate id” or “duplicate key”
id and key in the Embeddable. Search your pages and global components for the repeated value and rename one. You can run embeddables build -i <id> --fix (or pull with --fix) to let the CLI fix some issues automatically; check the output for warnings.Build fails: “key must not start with a number”
Build fails: “key must not start with a number”
option_1_to_2_weeks or range_1_to_2_weeks instead of 1_to_2_weeks.Save fails with “version conflict” or “newer version on server”
Save fails with “version conflict” or “newer version on server”
embeddables pull -i <id>. Merge or re-apply your local changes, then run embeddables save again. Only force-save if you intend to overwrite the server version.After pull, I see duplicate or wrong global components
After pull, I see duplicate or wrong global components
global-components/ folder for that Embeddable and run embeddables pull -i <id> again to regenerate them. Back up any local edits first.Styles look different in preview vs my site
Styles look different in preview vs my site
“Cannot find module ‘@embeddables/cli/components’” in editor
“Cannot find module ‘@embeddables/cli/components’” in editor
embeddables init (or re-run it) so that .types/ is created. The CLI also ensures tsconfig.json has the required baseUrl and paths entries — if you already had a tsconfig.json, init will patch it rather than replacing it. If you removed .types/, run embeddables init again to regenerate type stubs and repair the path mappings.Login or pull fails with a network error
Login or pull fails with a network error
Dev server says “using port X instead”
Dev server says “using port X instead”
embeddables dev --port <port> with a port you know is free.I get a compile error in a .page.tsx file (e.g. missing prop, wrong type)
I get a compile error in a .page.tsx file (e.g. missing prop, wrong type)
.types/. For CustomButton, ensure action is one of: next-page, prev-page, no-action, open-url, open-info-box, close-popup, reset, or page-<pageKey>. For OptionSelector buttons, ensure each button has a valid key (no leading digit).Workbench doesn't appear or doesn't load
Workbench doesn't appear or doesn't load
embeddables dev), the Workbench is on by default—if you hid it with ?workbench=false, remove that param or use ?workbench=true. On non-localhost preview links, you must add ?workbench=true to show it. Ensure the preview is from the dev proxy (localhost) or a URL that supports Workbench. If it still fails, try a different browser or clear cache.Workbench is in the way or blocking something — how do I hide it?
Workbench is in the way or blocking something — how do I hide it?
embeddables dev, the Workbench is on by default. To hide it, add ?workbench=false to the preview URL in your browser (e.g. http://localhost:3000?id=<embeddable-id>&version=latest&workbench=false). Reload the page and the Workbench panel will be hidden so you can see or click the content underneath.I want to undo a save
I want to undo a save
When I report an issue, what should I include?
When I report an issue, what should I include?
embeddables -v), the Embeddable you’re on (ID and version), and the commands or prompts you used. Check the latest version on npm—if you’re not on the latest, run embeddables upgrade and try again; many issues are fixed in newer releases.Reporting issues
When you report a problem or ask for help, it’s very helpful to include:- CLI version — Run
embeddables -vand share the number. - Embeddable you’re working on (ID and version from
config.jsonor the Builder). - Commands or prompts you ran (and any options).
embeddables upgrade first—many issues are fixed in newer releases.
