-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Labels
feat: devdev serverdev serverp3-downstream-blockerBlocking the downstream ecosystem to work properly (priority)Blocking the downstream ecosystem to work properly (priority)regressionThe issue only appears after a new releaseThe issue only appears after a new release
Description
Describe the bug
__openInEditor middleware returns 500 error when clicking on error overlay links
Reproduction
Steps to reproduce
run npm i && npm run dev
open the dev server
edit counter.js so that it causes an error.
open the network debugger
click on the teal file link to counter.js in the error overlay
observe that the call to __openFileInEditor receives a 500 response
System Info
stackblitzUsed Package Manager
npm
Logs
This also affects plugins/frameworks calling __openFileInEditor for their own functionality, eg svelte-inspector.
downstream issue sveltejs/vite-plugin-svelte#1190
caused by update of launch-editor containing code that expects a full file:// url
https://github.com/yyx990803/launch-editor/pull/95/files#diff-dcbfbcbcd74f87cc32c59171c1ed004bb0f64a31a83e3a3b51c770e1201a547cR24
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feat: devdev serverdev serverp3-downstream-blockerBlocking the downstream ecosystem to work properly (priority)Blocking the downstream ecosystem to work properly (priority)regressionThe issue only appears after a new releaseThe issue only appears after a new release