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

TypeScript in VS Code reports error in vue component #3645

Closed
4 tasks done
jnsmalm opened this issue Mar 8, 2024 · 1 comment
Closed
4 tasks done

TypeScript in VS Code reports error in vue component #3645

jnsmalm opened this issue Mar 8, 2024 · 1 comment
Labels
bug: pending triage Maybe a bug, waiting for confirmation

Comments

@jnsmalm
Copy link

jnsmalm commented Mar 8, 2024

Describe the bug

I get errors inside VS Code inside a simple vue component:

image

When using the component inside a markdown file, it works as expected.

Reproduction

Create a new VitePress project using the guide. Create a new component vue somewhere.

Expected behavior

No errors reported.

System Info

System:
    OS: macOS 14.3.1
    CPU: (11) arm64 Apple M3 Pro
    Memory: 89.45 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.11.0 - ~/.nvm/versions/node/v18.11.0/bin/node
    npm: 8.19.2 - ~/.nvm/versions/node/v18.11.0/bin/npm
    pnpm: 8.11.0 - ~/.nvm/versions/node/v18.11.0/bin/pnpm
    bun: 1.0.29 - ~/.bun/bin/bun
  Browsers:
    Chrome: 122.0.6261.112
    Safari: 17.3.1
  npmPackages:
    vitepress: ^1.0.0-rc.44 => 1.0.0-rc.44

Additional context

No response

Validations

@jnsmalm jnsmalm added the bug: pending triage Maybe a bug, waiting for confirmation label Mar 8, 2024
@brc-dd
Copy link
Member

brc-dd commented Mar 8, 2024

It’s an issue with v2 of the vscode extension. Please create an issue at https://github.com/vuejs/language-tools

The most likely cause in this case is conflict with some other extension - vuejs/language-tools#3942, vuejs/language-tools#4039

@brc-dd brc-dd closed this as completed Mar 8, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug: pending triage Maybe a bug, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

2 participants