jsonkao / jasons-cms

A collaborative editor for stories that are both written and coded
https://jasons-cms.vercel.app
0 stars 0 forks source link

Vite SSR stack trace error when deleting component #14

Closed jsonkao closed 7 months ago

jsonkao commented 7 months ago

When I delete a component, I do something like

await graphicsToDelete.map((filename) => webcontainerInstance.fs.rm(`${GENERATED_PATH}/${filename}`))

But this results in the following Vite dev server error:

image

For now, I just won't delete the graphic file because it'll barely add memory usage in a normal use case.

jsonkao commented 7 months ago

Try replicating and debugging on normal local host.

jsonkao commented 7 months ago

Idk. I don't think it'll be a big issue.