Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: The document contains some sections that are not formatted properly, resulting in errors upon startup.(GPT translate^..^) #53

Closed
LiuZhaowen1 opened this issue Apr 12, 2024 · 7 comments

Comments

@LiuZhaowen1
Copy link

Bug Report

DashPress version:

Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

@LiuZhaowen1 LiuZhaowen1 changed the title bug: 没有安装prettier-vscode bug: The document contains some sections that are not formatted properly, resulting in errors upon startup.(GPT translate^..^) Apr 12, 2024
@thrownullexception
Copy link
Contributor

@LiuZhaowen1 can you give an example

@LiuZhaowen1
Copy link
Author

image
like this

@thrownullexception
Copy link
Contributor

Hmmn, can you checkout the release branch

@LiuZhaowen1
Copy link
Author

OK, Thank you for your reply

@thrownullexception
Copy link
Contributor

I am not able to reproduce this issue even on the main branch
Screenshot 2024-04-12 at 10 51 13

Looks like some issue with the prettier version. Did you use npm install or yarn install

@LiuZhaowen1
Copy link
Author

image
Please check the code on line 592 in your local path. Is the format the same as that on github? My guess is that your vscode plug-in automatically formats it for you.(google translate)

@LiuZhaowen1
Copy link
Author

I deleted the node_modules folder and then re-ran the yarn command and it ran normally again.The only difference that I can still remember is that I installed the prettier of vscode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants