Closed markrian closed 1 month ago
1.1.382 does work if you have node
in PATH
(I'm assuming that's how it determines whether or not to install Node), but it fails in a virtualenv where node
is not available. So it's not isolated to some weird interaction with the python
docker image.
Wrong repository - you want https://github.com/RobertCraigie/pyright-python.
Also try installing pyright[nodejs]
.
Aha! Apologies, I didn't realise the PyPI package is community maintained. Also, thanks for the tip about the nodejs
optional dependency, good to know.
Closing.
fyi, your issue was fixed in 1.1.382.post0
, see https://github.com/RobertCraigie/pyright-python/issues/304
Describe the bug
It seems pyright 1.1.382 fails to install a working copy of Node, whereas 1.1.381 can.
Code or Screenshots
Reproduction:
You can see it works correctly still with 1.1.381: