Skip to content

Editing JSON file always leads to "unexpected error, you will lose progress" #1535

@hybridherbst

Description

@hybridherbst

Describe the bug

It seems that any kind of change to the typedoc.json file in the stackblitz page here will lead to the "unexpected error" message.

Even something like inserting a space and then saving the file.

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-jycujc?file=typedoc.json,package.json&terminal=dev

Steps to reproduce

  1. Make sure typedoc.json is open
  2. Insert a space
  3. Save (ctrl + s or click save button)
  4. image

Expected behavior

Can edit the file

Parity with Local

Screenshots

image

Platform

Browser name  = Chrome
Full version  = 129.0.0.0
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 246907219,
  "usedJSHeapSize": 224189123,
  "jsHeapSizeLimit": 4294705152
}
Hash = 134daa3c

Additional context

In the console I see a ton of errors related to StackBlitz' own files not loading, and then upon saving:
image

Why would that be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions