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

templateInterpolationService causing issues with well-used/maintained electron project with latest libraries installed. #3257

Closed
4 tasks done
benlesh opened this issue Nov 30, 2021 · 3 comments

Comments

@benlesh
Copy link

benlesh commented Nov 30, 2021

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ
  • I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: Window 10
  • Vetur version: v0.35.0
  • VS Code version:
    • Version: 1.62.3 (user setup)
    • Commit: ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
    • Date: 2021-11-17T08:11:14.551Z
    • Electron: 13.5.2
    • Chrome: 91.0.4472.164
    • Node.js: 14.16.0
    • V8: 9.1.269.39-electron.0
    • OS: Windows_NT x64 10.0.19042

Problem

As described in more detail in this related issue:
cawa-93/vite-electron-builder#595

Basically the 'vetur.experimental.templateInterpolationService': true setting causes a ton of errors in a project that seemingly is running the "latest and greatest everything".

image

Reproducible Case

  1. Clone https://github.com/cawa-93/vite-electron-builder
  2. npm install
  3. Open /packages/renderer/src/components/Home.vue.
  4. See all of the errors.
  5. Open /vetur.config.js and comment out the line setting 'vetur.experimental.templateInterpolationService': true.
  6. Restart VLS.
  7. See no errors.
@Peeterush
Copy link

That template uses typescript 4.5, which Vetur does not seem to like. See #3244

ademenev pushed a commit to 1CRM/oceanfront that referenced this issue Dec 10, 2021
Vetur does not work well with typescript 4.5

See vuejs/vetur#3257
@yoyo930021
Copy link
Member

Duplicate of #3323
It will also solve it in v0.36.0.

@yoyo930021
Copy link
Member

Duplicate of #3323

@yoyo930021 yoyo930021 marked this as a duplicate of #3323 Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants