Troubleshooting
Find what you see in the first column. Each row gives the cause and the fix.
Creating the project
| What you see | Cause | Fix |
|---|---|---|
The engine "node" is incompatible with this module. Expected version ">=22.13.0". followed by Installing the dependencies failed. | Your Node.js is older than 22.13. | Install Node.js 22.13 or newer. Delete the half-made project folder, then run the npx command again. |
A line with the code YN0028 and The lockfile would have been modified by this install, which is explicitly forbidden., followed by Installing the dependencies failed. | Your yarn is Yarn 2 or newer. The project needs Yarn 1 (Classic). | Run npm install --global yarn and check that yarn --version prints a version that starts with 1.. Delete the half-made project folder, then run the npx command again. |
The folder … already exists. | An earlier run left the folder behind, or you already have a folder with that name. | Delete the folder or choose another name. |
Running yarn start
| What you see | Cause | Fix |
|---|---|---|
Error: Set "previewLink" in zoovu.manifest.js. | previewLink is empty. | Paste your advisor's preview link into previewLink. See Get your preview link. |
Error: "previewLink" in zoovu.manifest.js is not a Zoovu preview link. | The address in previewLink is not the one from the Preview button. | In Experience Designer, click Preview and copy the whole address of the tab that opens, starting with https://. |
Port 3000 is in use, trying another one... | Another program uses port 3000. This is not an error. | Open the address that yarn start prints under it, such as http://localhost:3001/. To pick the port yourself, run yarn start --port 3005. |
You changed a default in a *.preset.ts file and the page still shows the old text. | The advisor has a saved value for that setting, and a saved value wins over the default in the preset. | Change the text on the Translation page of Experience Designer. The new default shows on advisors that have no saved value for it. |
Building and uploading
| What you see | Cause | Fix |
|---|---|---|
Error: Given name "solstice-theme" is not a legal JS identifier. If you need this, you can try "output.extend: true". | name in zoovu.manifest.js has a dash, a space or another character that a JavaScript identifier can't have. | Write the name in PascalCase, such as SolsticeTheme. Ignore the hint about output.extend. See Zoovu manifest. |
yarn build succeeds, and yarn lint then reports errors such as 'ZoeDock' is defined but never used. | yarn build doesn't check your code. | Run the gates before every build and fix what they report. For this example, remove the import ZoeDock … line too. |
Unable to publish component. Component with this version already exists. | Each version of a theme is accepted once. | Run yarn bump-version, then yarn build, and upload the new zip. See Versions. |
In Experience Designer
| What you see | Cause | Fix |
|---|---|---|
| After an upload the preview in Experience Designer is empty and the Config tab has no Component. | An upload doesn't select the new version. | Under Local, click your theme, then Save and Apply. |
| The buttons in the preview tab have no labels. | The theme has no texts in the advisor's language. | Add the language: see Add the texts. |
| A text you added in a later version is empty in the preview tab. | The language was translated before that text existed. | In Translation, click the translate icon next to the language again, then Save and Apply. |
| The results page says there are no products. | The advisor's flow has no Results Page step with a catalog selected, or no route to it. | In Conversation Studio, add a Results Page step to the flow of a Discovery Assistant, select the catalog in it and route the last question to it. See Results pages. |
Still stuck? Compare each step with Build an application theme, then contact Zoovu support.