diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2022-01-19 10:14:39 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2022-01-23 08:00:39 +0100 |
| commit | 5d9188c7e93f010f1d1d8d88d3b0791d54621b6c (patch) | |
| tree | aa45151f8a988bcf401a9390e1a4b047d430de39 | |
| parent | 87c8c5fd1bc7bf855d74ae37af947b292c262873 (diff) | |
[mod] add pyright to nvm's node installation
Pyright [1] is in the nvm enviroment, may be you need to rebuild the nvm
environment and install nodejs in::
./manage nvm.clean
./manage nvm.nodejs
The last command installs nodejs and the packages from .nvm_packages.
You can test your pyright installation, to get a bash within the nvm run::
./manage nvm.bash
(nvm) $ which pyright
./.nvm/versions/node/v16.13.0/bin/pyright
If you have a local nvm in your HOME folder, the output from ``which`` is
different. Press ``[CTRL-D]`` to get out of this bash.
[1] https://github.com/microsoft/pyright
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
| -rw-r--r-- | .nvm_packages | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.nvm_packages b/.nvm_packages index 13eabc5c2..fe8585c3b 100644 --- a/.nvm_packages +++ b/.nvm_packages @@ -5,4 +5,5 @@ # [1] https://github.com/nvm-sh/nvm#default-global-packages-from-file-while-installing eslint +pyright |