question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

0.37.6 breaks event payload type detection (npm monorepo)

See original GitHub issue

Some oddities

  • cannot find volar running in the output list, but it’s definitely running
  • volar is not able to retrieve the type of the event payload of the vue file
  • when ⌘+Click on the Vue component, it goes to the shims file instead of to the component
  • on 0.37.3 everything works as expected
image

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mesqueebcommented, Jun 13, 2022

@johnsoncodehk here’s a minimal reproduction. (in takeovermode) image

and on v0.37.3, works as expected:

image

zip without node_modules: https://www.dropbox.com/s/qyhin4xwr2cgnok/volar-issue-0.37.6.zip?dl=0

  1. open in VSCode
  2. npm i (make sure you have npm v8+)
  3. install volar
  4. disable @builtin typescript
  5. reload VSCode
  6. open packages/app/src/App.vue see the event payload is not typed
1reaction
mesqueebcommented, Jun 13, 2022

@johnsoncodehk we have takeovermode enabled. @builtin typescript is disabled:

image

working on creating a minimal reproduction now

Read more comments on GitHub >

github_iconTop Results From Across the Web

detect-browser - npm
This is a package that attempts to detect a browser vendor and version (in a semver compatible format) using a navigator useragent in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found