Closed kishikaisei closed 2 years ago
It fails when running normally where tsserver
for instance installs smoothly, but the installation is successful when running nvim as admin, but then, the angularls cannot be found by nvim-lsp-installer.
Hello! Could you provide the installation logs (with debug level)? I dont believe the engine warning is causing the issues, they're just warnings
So, for some reason, now that I want to install angular, it installs (with warnings), but it can't be used:
Just ruling things out: does it work if you open a TypeScript file on your C:
drive (that is, a TypeScript file within a git repository)?
I made a folder called test under c:\test
, did a git init there, and create an empty main.ts
, opening it in nvim shows this:
I think I know what this is now. Will need to get on my Windows machine to try things out. (I believe executables installed via npm sometimes needs to be spawned via cmd.exe, like cmd.exe /C <command>
)
@kishikaisei Could you try branch fix-angularls-windows
(#420) and see if it works for you? It seems like it fixes the cmd not found issue, but the server itself seems completely dead to me as it's not responding to anything (I have a feeling this is because of my local Windows env and the random test project I found on GitHub).
edit: nvm I forgot to install npm dependencies, it works fine now. I'll just go ahead and merge immediately
Updated and it seems to works as expected :D
Describe the installation issue Trying to install angularls causes the issue for node version, I have v 16.13 (LTS version), but the lsp is expecting version
required: { node: '>=10.9.0 <15.0.0' }
System info (please complete the following information):
Checkhealth output (
:checkhealth nvim-lsp-installer
):Installation log