yarn not found in VSCode 1.74.0 and plugin version v5.0.3 #964
-
vscode-jest was happily working until I just updated to VSCode 1.74.0, and now for some reason it can't find jest. I tried specifying the "jest.jestCommandLine": "yarn test",
"jest.rootPath": "/home/pearj/dev/forgeops/typescript/idm" The output from the jest terminal
Does anyone have any idea what might have happened? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hmm... this is strange... looks like it is an env issue, but it should fall back to the login shell in that case. If you still have the console log, can you see if it is running a login shell? (You can search for What happens when you reload the window or restart vscode? |
Beta Was this translation helpful? Give feedback.
-
2 years later, I've just started seeing this same error
running vscode in user mode, no WSL, Git Bash for Windows as default terminal |
Beta Was this translation helpful? Give feedback.
Hmm... this is strange... looks like it is an env issue, but it should fall back to the login shell in that case. If you still have the console log, can you see if it is running a login shell? (You can search for
spawning login-shell
in the console log if the debug mode is enabled.)What happens when you reload the window or restart vscode?