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
The slash / is incompatible on Windows. When launching vscode Jest process throws an error:
The command"node_modules" is either misspelled or
could not be found.
[error] failed to retrieve test file list. TestExplorer might show incomplete test items
Jest process "watch-tests" ended unexpectedly
- Source: Jest (Extension)
Fix
Changing slash / to \\ will work for Windows, but the issue will instead occour on Linux/MAC.
Fix for the issue, to work on all platforms (tested on Windows & MAC):
"jest.jestCommandLine": "npx jest",
Reproduction
On a Windows terminal/cmd:
Clone the repo
run pnpm install
launche code .
Install all recommended extensions
Restart vscode
It should throw the error
Environment
OS with version: Windows 11
Browser with version: Firefox 117.0
JS Runtime with version: NodeJS v20.2.0
The text was updated successfully, but these errors were encountered:
Describe the bug
The slash
/
is incompatible on Windows. When launching vscode Jest process throws an error:Fix
Changing slash
/
to\\
will work for Windows, but the issue will instead occour on Linux/MAC.Fix for the issue, to work on all platforms (tested on Windows & MAC):
Reproduction
On a Windows terminal/cmd:
pnpm install
code .
Environment
The text was updated successfully, but these errors were encountered: