-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
"tsc" missing from $PATH for typescript-language-server #222
Comments
Hello! This doesn't seem to be an installation issue? I'm not sure I'm following what the problem is, or how |
Sorry, I forgot to explain the whole scenario. The built-in Which depend on the TypeScript compiler ( |
Ah. No
If I had to guess you probably had |
I guess it's possible, maybe something in the LSP setup changed as well. Not sure. :| Now I am thinking of it, maybe it would be a good idea to be able to pass a path to the What do you think about that, does it make sense? |
I'm pretty sure you can pass an absolute path to null-ls, if you provide the canonical name |
I've made an initial investigation into the error and believe this is an error with mason.nvim (or that an improvement could be made)
I've recently downloaded the latest plugin version of mason.nvim
Problem description
tsc
is not found in $PATH. The problem occurs if the LSP is not attached andnull-ls
tried to compile the file executing thetsc
executable with the current buffer contents.Neovim version (>= 0.7)
NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@iMac-Pro
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/0.7.2_1/share/nvim"
Run :checkhealth for more info
Operating system/version
Darwin Kernel Version 19.6.0
Affected packages
typescript-language-server
Actual behavior
tsc
is NOT in $PATH in neovim.Expected behavior
tsc
is in $PATH in neovim.Mason output
Installation log
Healthcheck
Screenshots
No response
The text was updated successfully, but these errors were encountered: