continue
continue copied to clipboard
fix: An error occurred while loading view: continue.continueGUIView
Before Submitting
- I believe this is a bug.
- I couldn't find any open issue describing the same problem.
- I’ve reviewed the troubleshooting guide on the Continue Docs.
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.