TABLE OF CONTENTS
Introduction
This article is a step-by-step guide to help developers and customers debug and troubleshoot issues and resolve common issues in the Webstore and Page Builder environments. Ideal for teams working with Next.js, React, it outlines into two main sections one is for troubleshooting the issues and its history and another is for developers to debug the issue in a web store or Pagebuilder.
Troubleshooting & Debugging(App Development)
- Please refer to the APP and API troubleshooting guidelines for general guidelines
- Setup for local environment:
- Please refer Webstore Development & Page Builder Setup Guide
Client Issues History
Issue Description | Hydration Mismatch |
Troubleshooting or RCA Details |
|
Type of Issue | Environment |
Solution | Avoid a mismatch between server-rendered content and client-rendered content |
Issue Description | Component Not Rendering in webstore |
Troubleshooting or RCA Details | The component was not registered in your shared components |
Type of Issue | configuration |
Solution |
|
Issue Description | Component Not Appearing in Page Builder UI |
Troubleshooting or RCA Details | The widget is missing from the visual editor component list |
Type of Issue | configuration |
Solution |
|
Issue Description | Visual Editor Crashes After Widget Integration |
Troubleshooting or RCA Details | Missings config |
Type of Issue | configuration |
Solution |
|
Issue Description | Theme-Level Widget Overrides Not Taking Effect |
Troubleshooting or RCA Details | override is missing in the root-config.ts |
Type of Issue | configuration |
Solution |
|
Issue Description | Edits in Page Builder are not visible in Webstore preview |
Troubleshooting or RCA Details | The keys were missing in the .env file |
Type of Issue | configuration |
Solution |
|
Issue Description | The publish button will not display in the page builder, so we can't save changes and export to the webstore |
Troubleshooting or RCA Details | Settings were missing |
Type of Issue | Configuration |
Solution | Open the following file in the Page Builder codebase: packages/page-builder/src/constants/visual-editor.ts Update settings in the visual editor constants file in : ENABLE_CACHE=true This enables the “Publish” button and allows saving JSON layout files. |
Issue Description | Unable to Commit Changes in Webstore or Page Builder |
Troubleshooting or RCA Details | Spell check or linting |
Type of Issue | Configuration |
Solution | Pre-Commit Hook Overview Our repo is configured with a husky pre-commit hook that performs the following steps: Spell Check (using cspell) Linting (npm run lint) Build Check (npm run build) Commit Message Validation (via commitlint) If any of these steps fail, your commit will be aborted to maintain code quality and consistency. |