1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

[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>
This commit is contained in:
Markus Heiser 2022-01-19 10:14:39 +01:00 committed by Martin Fischer
parent 87c8c5fd1b
commit 5d9188c7e9

View File

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