Browse Source

[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>
Markus Heiser 3 years ago
parent
commit
5d9188c7e9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .nvm_packages

+ 1 - 0
.nvm_packages

@@ -5,4 +5,5 @@
 # [1] https://github.com/nvm-sh/nvm#default-global-packages-from-file-while-installing
 
 eslint
+pyright