-
Notifications
You must be signed in to change notification settings - Fork 310
Open
Labels
Description
Describe the bug
I'm working on regular React project. And I can run unit test case with vscode jest extension in 'Run Test' mode. Everything is good. But when I try to use 'Debug Test' to debug same test case. It failed with:
Error: Cannot find module 'C:\xxx\pnpm'
at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)
at Module._load (node: internal/modules/cjs/loader:1043:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Any hints on this error?