Vetur: Version 0.31.0 format issue

Created on 8 Dec 2020  Â·  9Comments  Â·  Source: vuejs/vetur

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

image

bug

Most helpful comment

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.

All 9 comments

Hello, same issue here 😢 !

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.

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.

I have the same problem,and how reslove it.

I have the same problem,and how reslove it.

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

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

Downgrade it to v30 and the problem would be solved.

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

2020年12/9 pm4:25,ChrisLuo notifications@github.com :

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 https://github.com/vuejs/vetur/issues/2531#issuecomment-741615736, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARZNQVI7JE6SSEOZ3ROXKQTST4YAFANCNFSM4USIUZHQ.

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.

Was this page helpful?
0 / 5 - 0 ratings