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
I can't run any globally installed npm packages (like yarn) in the vscode integrated powershell terminal. That's also a reason why all my attempts to run npm scripts from the package.json fail.
Every time this error:
yarn : The term 'yarn' is not recognized as the name of a cmdlet, function, script file, or operable progr
am. Check the spelling of the name, or if a path was included, verify that the path is correct and try aga
in.
At line:1 char:1
+ yarn --version
+ ~~~~
+ CategoryInfo : ObjectNotFound: (yarn:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The most interesting part: if I try to do the same somewhere outside of vscode (eg windows terminal), it works fine. Additionally, an hour ago yarn worked inside vscode, and I don't remember anything, that could affect it.
VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
Item
Value
CPUs
AMD Ryzen 7 7840HS with Radeon 780M Graphics (16 x 3793)
Type: Bug
I can't run any globally installed npm packages (like
yarn
) in the vscode integrated powershell terminal. That's also a reason why all my attempts to run npm scripts from thepackage.json
fail.Every time this error:
The most interesting part: if I try to do the same somewhere outside of vscode (eg windows terminal), it works fine. Additionally, an hour ago yarn worked inside vscode, and I don't remember anything, that could affect it.
VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (51)
A/B Experiments
The text was updated successfully, but these errors were encountered: