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

Volar中typescript version的问题 #2654

Closed
TerryXu-97 opened this issue Apr 21, 2023 · 2 comments
Closed

Volar中typescript version的问题 #2654

TerryXu-97 opened this issue Apr 21, 2023 · 2 comments

Comments

@TerryXu-97
Copy link

volar自从1.3.0版本开始到1.4.0版本,在windows版本的vscode上status bar无法显示ts版本号只能显示 x.x.x, 也就是说1.3.0-1.4.0版本的volar无法检测vscode's typescript version 和 workspace typescript version(即使在工作区的node_modules中安装了typescript也不行)。

volar 1.4.1版本可以检测到workspace typescript version但是无法检测到vscode's typescript version。当通过点击vscode status bar去切换使用的typescript版本后volar会直接提示 Vue Semantic Server client: couldn't create connection to server,经过3次重试后就崩溃了。

volar在vscode启动后会在控制台出现这样的警告 [Vue.volar]: 无法注册“typescript.tsdk”。此属性已注册。这条警告在windows版的vscode中已经存在了很长一段时间。

@Tanimodori
Copy link

volar自从1.3.0版本开始到1.4.0版本,在windows版本的vscode上status bar无法显示ts版本号只能显示 x.x.x, 也就是说1.3.0-1.4.0版本的volar无法检测vscode's typescript version 和 workspace typescript version(即使在工作区的node_modules中安装了typescript也不行)。

Duplicate of #2637

volar 1.4.1版本可以检测到workspace typescript version但是无法检测到vscode's typescript version。当通过点击vscode status bar去切换使用的typescript版本后volar会直接提示 Vue Semantic Server client: couldn't create connection to server,经过3次重试后就崩溃了。

volar在vscode启动后会在控制台出现这样的警告 [Vue.volar]: 无法注册“typescript.tsdk”。此属性已注册。这条警告在windows版的vscode中已经存在了很长一段时间。

Duplicate of #2651

@MonkeyDCang
Copy link

复议,20230812,
import "....vue", 报错提示Cannot find module or its corresponding type declarations
重装typescript a lot times, settings->workspace enabled,however....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants