You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use pyright it immediately gets stuck and doesn't output anything except of the loading spinner. After a few minutes I get a non-zero exit status 1:
npm error code ETARGET
npm error notarget No matching version found for [email protected].
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: C:\Users\SchalleA\AppData\Local\npm-cache\_logs\2024-09-20T12_21_14_120Z-debug-0.log
Traceback (most recent call last):
File "C:\Users\SchalleA\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\SchalleA\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\DEV\Scripts\Python\iBox Param Setter\venv\Scripts\pyright.exe\__main__.py", line 7, in <module>
File "C:\DEV\Scripts\Python\iBox Param Setter\venv\lib\site-packages\pyright\cli.py", line 34, in entrypoint
sys.exit(main(sys.argv[1:]))
File "C:\DEV\Scripts\Python\iBox Param Setter\venv\lib\site-packages\pyright\cli.py", line 19, in main
return run(*args, **kwargs).returncode
File "C:\DEV\Scripts\Python\iBox Param Setter\venv\lib\site-packages\pyright\cli.py", line 25, in run
pkg_dir = install_pyright(args, quiet=None)
File "C:\DEV\Scripts\Python\iBox Param Setter\venv\lib\site-packages\pyright\_utils.py", line 64, in install_pyright
node.run(
File "C:\DEV\Scripts\Python\iBox Param Setter\venv\lib\site-packages\pyright\node.py", line 124, in run
subprocess.run(node_args, env=env, **kwargs),
File "C:\Users\SchalleA\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Program Files\\nodejs\\npm.cmd', 'install', '[email protected]']' returned non-zero exit status 1.
Since a lot of problems are caused by being behind a proxy, most of them can be fixed by setting the proxy somewhere, but I don't know where that is for pyright.
My pyproject.toml config looks like this (if that somehow helps for reproduction):
When I use pyright it immediately gets stuck and doesn't output anything except of the loading spinner. After a few minutes I get a
non-zero exit status 1
:Since a lot of problems are caused by being behind a proxy, most of them can be fixed by setting the proxy somewhere, but I don't know where that is for pyright.
My
pyproject.toml
config looks like this (if that somehow helps for reproduction):Version info
Edit
Using pyright 1.1.380 works
The text was updated successfully, but these errors were encountered: