sublimelsp / LSP-file-watcher-chokidar

Chokidar-based file watcher implementation for LSP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't find Node

felipetesc opened this issue · comments

commented

Hello! I'm trying to use your package but I'm finding an issue. When I start sublime I get the message:
"Could not start LSP-file-watcher-chokidar due to not being able to find Node.js runtime..."
However Node is installed, and I it's on the path:

When I run: node --version I get v18.4.0

Can I define node path using any configuration file ?

This is because ST doesn't see the same PATH as your terminal does. Here is an explanation on how to fix it: https://lsp.sublimetext.io/troubleshooting/#updating-the-path-used-by-lsp-servers

commented

This is because ST doesn't see the same PATH as your terminal does. Here is an explanation on how to fix it: https://lsp.sublimetext.io/troubleshooting/#updating-the-path-used-by-lsp-servers

Thank you.