Skip to content
Discussion options

You must be logged in to vote

Hey. Thank you so much for the detailed answer. I think now i finally managed to solve the issue after some painful debugging.

As you know, typescript version 7.0.0 has been released about two days ago.
And the thing is, the package @vue/language-server describes its typescript dependency like this:

	"peerDependencies": {
		"typescript": "*"
	},

I just manually pinned the version to 6 and after a pnpm install, the problem solved.

The npm/pnpm tools are keep installing the latest release of typescript that actually has some compability issues with the language-server. And this error:

TypeError: Cannot read properties of undefined (reading 'protocol')

Is a first aspect of it.

I'll notice …

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ParsaJR
Comment options

You must be logged in to vote
2 replies
@KazariEX
Comment options

@ParsaJR
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants