kabouzeid/nvim-lspinstall

LspInstall - cannot find npm command

bleepster opened this issue · 2 comments

I have node installed via nvm. Using either bash or zsh, I can execute npm without issues. But, when doing LspInstall on languages that require npm (ex. python) I get an error:

bash: line 2: npm: command not found
bash: line 3: npm: command not found
                                                                                  
[Process exited 127]

Is this a config issue on my part -OR- is this type of setup not supported yet and I should instead use a system-wide node installation?

Hmm not sure why it's not working, I don't know much about nvm. Using systemwide npm installation will probably work.

My issue seems to be isolated to a flatpak installation (Sorry, I missed mentioning this on my initial post - at that time, I thought it was not relevant). I installed the AppImage binary and it works now.