Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

LspInstall - cannot find npm command #172

Open
bleepster opened this issue Sep 21, 2021 · 2 comments
Open

LspInstall - cannot find npm command #172

bleepster opened this issue Sep 21, 2021 · 2 comments

Comments

@bleepster
Copy link

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?

@kabouzeid
Copy link
Owner

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

@bleepster
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants