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

fix(astro,volar): correct 'typescript/lib' path for TypeScript LSP initialization #3585

Merged
merged 2 commits into from
Jan 26, 2025

Conversation

krovuxdev
Copy link
Contributor

The issue occurred because the path generated by the get_typescript_server_path function omitted the node_modules folder, causing failures when initializing the TypeScript LSP client:
Error: "Can't find typescript.js or tsserverlibrary.js in .../typescript/lib"
The function was updated to correctly include node_modules in the path. Now, the generated path is valid, and the LSP client works without issues.

@krovuxdev krovuxdev requested a review from glepnir as a code owner January 24, 2025 23:29
@glepnir glepnir merged commit e5bf88e into neovim:master Jan 26, 2025
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants