continue icon indicating copy to clipboard operation
continue copied to clipboard

fix: An error occurred while loading view: continue.continueGUIView

Open smmzyl opened this issue 4 months ago • 5 comments

Before Submitting


Environment

  • OS: Windows 10
  • Continue: VS Code Extension
  • VS Code Version: 1.99.2

Description

After pulling the project and building it locally, running the extension in VS Code results in the following error when loading the GUI: An error occurred while loading view: continue.continueGUIView

Root Cause

The issue is caused by the webview property not being set on the webview protocol object. This prevents communication between the extension backend and the Webview, resulting in the GUI failing to initialize and throwing the error.

Reproduction Notes

This bug occurs only the first time the view is initialized. Once the Webview communication has been successfully established, VS Code caches the state.


Suggested Fix

Ensure that the webview instance is correctly assigned to the protocol object during initialization so that communication can be established reliably on first load.

smmzyl avatar Jun 13 '25 09:06 smmzyl