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

Unneeded popup when using custom node version #174

Closed
punk-dev-robot opened this issue Jun 17, 2024 · 2 comments
Closed

Unneeded popup when using custom node version #174

punk-dev-robot opened this issue Jun 17, 2024 · 2 comments

Comments

@punk-dev-robot
Copy link

I started using custom node version with pointer expression enabled as vtsls was crushing with OOM in our monorepo, as described here: #136

It worked but now when the servers starts I see this popup:
image

It looks like it's not blocking and vtsls initializes anyway and I don't think it matters what I select. Is it possible to not display it?

@yioneko
Copy link
Owner

yioneko commented Jun 17, 2024

You'll see the prompt if you set the custom node path by option typescript.tsserver.nodePath, and to suppress the prompt needs another patch to the vscode extension.

For now, if you are using nvim, you can set the node path by overriding the cmd of vtsls to /path/to/node /path/to/vtsls_bin --stdio, and the prompt will disappear if typescript.tsserver.nodePath is unset.

@punk-dev-robot
Copy link
Author

That worked, thank you

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

2 participants