mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
964 stars 243 forks source link

Pages delete automatically #1724

Closed prakhargupta1 closed 1 year ago

prakhargupta1 commented 1 year ago

Duplicates

Latest version

Steps to reproduce 🕹

Create an app with 2-3 pages and abruptly the page will be deleted.

Current behavior 😯

I am working on an app but somehow the pages keep getting deleted automatically. It has happened 5-6 time today. After this toolpad.yaml also gets erased.

Screenshot 2023-03-02 at 6 21 53 PM Screenshot 2023-03-02 at 6 11 43 PM

Expected behavior 🤔

No response

Context 🔦

No response

Your environment 🌎

No response

Janpot commented 1 year ago

Are you by any chance renaming the file extension to .yaml?

Do you see any errors in the output of running yarn dev? So that is the output in the terminal, preferrably pasted as text, not a screenshot.

I have a potential fix in https://github.com/mui/mui-toolpad/pull/1725

Can you try to run

yarn upgrade @mui/toolpad @mui/toolpad-core --latest

and try again?

prakhargupta1 commented 1 year ago

Are you by any chance renaming the file extension to .yaml?

No no. Sorry I meant, toolpad.yml

Do you see any errors in the output of running yarn dev? So that is the output in the terminal, preferrably pasted as text, not a screenshot.

Nope, nothing reflects on the terminal when the page gets deleted.

prakhargupta1 commented 1 year ago

This seems to have been fixed. Hasn't happened so far.

Janpot commented 1 year ago

Ok great 👍 Closing then. Feel free to reopen if it happens again