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

take over mode, [ts error] debug failure #2294

Closed
2nthony opened this issue Jan 9, 2023 · 5 comments
Closed

take over mode, [ts error] debug failure #2294

2nthony opened this issue Jan 9, 2023 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@2nthony
Copy link

2nthony commented Jan 9, 2023

the demo is created by vite, template is vue-ts

volar version: 1.0.24, other deps see package.json below.

repo

  • enable take over mode
  • create helpers.ts
  • exports something
  • use/import in App.vue
  • rename the exported function in helpers.ts
  • then issue appear in vue file
Screen-2023-01-09-102354.mp4

package.json

{
  "name": "volar-bug",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vue-tsc && vite build",
    "preview": "vite preview"
  },
  "dependencies": {
    "vue": "^3.2.45"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^4.0.0",
    "typescript": "^4.9.3",
    "vite": "^4.0.0",
    "vue-tsc": "^1.0.11"
  }
}

I am not sure.

@MaksymShutiak
Copy link

Have the same issue in neovim . Any updates on this ?

@2nthony
Copy link
Author

2nthony commented Jan 10, 2023

No any update yet, I use neovim also, just to check this issue is in vscode.

@MaksymShutiak
Copy link

MaksymShutiak commented Jan 10, 2023

@2nthony i tried to downgrade typescript and it works .

Try to install 4.5.2 or 4.8.4 and it will help. Looks like new version of Typescript broke Volar

@ghost
Copy link

ghost commented Jan 11, 2023

Have the same issue as well, downgrading Typescript does not help either.

@johnsoncodehk
Copy link
Member

Duplicate of #2190

@johnsoncodehk johnsoncodehk marked this as a duplicate of #2190 Jan 12, 2023
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants