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

Version 0.31.0 format issue #2531

Closed
dieegov opened this issue Dec 8, 2020 · 9 comments
Closed

Version 0.31.0 format issue #2531

dieegov opened this issue Dec 8, 2020 · 9 comments
Labels

Comments

@dieegov
Copy link

dieegov commented Dec 8, 2020

In version 0.31.0 Vetur is unable to format vue files. When rolling back to version 0.30.3 formatting occurs normally.

image

@dieegov dieegov changed the title Version 0.31.0 format fail Version 0.31.0 format issue Dec 8, 2020
@perscrew
Copy link

perscrew commented Dec 8, 2020

Hello, same issue here 😢 !

@lecano
Copy link

lecano commented Dec 9, 2020

Same here, in my case the error message is Vetur can't find tsconfig.json or jsconfig.json in project-path as soon as I open a .vue file and Extension vetur cannot format .vue file when formatting a document. I'm using vue with laravel so no tsconfig.json or jsconfig.json file is being used. Rolling back to 0.30.3 solves the issue.

I guess the new vetur.config.js file is now required.

@yoyo930021
Copy link
Member

yoyo930021 commented Dec 9, 2020

Same here, in my case the error message is Vetur can't find tsconfig.json or jsconfig.json in project-path as soon as I open a .vue file and Extension vetur cannot format .vue file when formatting a document. I'm using vue with laravel so no tsconfig.json or jsconfig.json file is being used. Rolling back to 0.30.3 solves the issue.

I guess the new vetur.config.js file is now required.

The vetur.config.js isn't required.
https://vuejs.github.io/vetur/guide/FAQ.html#vetur-can-t-find-tsconfig-json-jsconfig-json-in-xxxx-xxxxxx

You can use vetur.ignoreProjectWarning: false in vscode setting to close this warning.

Format is another problem.

@yoyo930021 yoyo930021 added the bug label Dec 9, 2020
@Epic-Deno
Copy link

I have the same problem,and how reslove it.

@yoyo930021
Copy link
Member

I have the same problem,and how reslove it.

You can trigger vscode setting changed for temporary solution. or downgrade extention.

@behemoth-thainv
Copy link

I have the same problem, my VSCode not found Vetur format, Althought I added vetur.config.json file :(

@ChrisLuckComes
Copy link

Downgrade it to v30 and the problem would be solved.

@Epic-Deno
Copy link

Epic-Deno commented Dec 12, 2020 via email

@yoyo930021
Copy link
Member

I download the version 30, there was no wanings,and alls return to normal.

2020年12/9 pm4:25,ChrisLuo @.***> : Downgrade it to v30 and the problem would be solved. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2531 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARZNQVI7JE6SSEOZ3ROXKQTST4YAFANCNFSM4USIUZHQ.

The problem is solve in new version.

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

No branches or pull requests

7 participants