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
How? Firstly this.bazelInfo is meant to be a Map<string, string>>, not an instance of BazelInfo. But the root cause is that the debugger program can't resolve the vscode import which got inserted as a dependency from BazelComand.
node ./out/src/debug-adapter/client.js
node:internal/modules/cjs/loader:1247
throw err;
^
Error: Cannot find module 'vscode'
Require stack:
- /home/dpar39/code/vscode-bazel/out/src/bazel/bazel_command.js
- /home/dpar39/code/vscode-bazel/out/src/bazel/bazel_info.js
- /home/dpar39/code/vscode-bazel/out/src/debug-adapter/client.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1244:15)
at Function._load (node:internal/modules/cjs/loader:1070:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1335:12)
at require (node:internal/modules/helpers:136:16)
at Object.<anonymous> (/home/dpar39/code/vscode-bazel/out/src/bazel/bazel_command.js:17:16)
at Module._compile (node:internal/modules/cjs/loader:1562:14)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1313:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/dpar39/code/vscode-bazel/out/src/bazel/bazel_command.js',
'/home/dpar39/code/vscode-bazel/out/src/bazel/bazel_info.js',
'/home/dpar39/code/vscode-bazel/out/src/debug-adapter/client.js'
]
}
The text was updated successfully, but these errors were encountered:
This change broke the starlark debugger:
https://github.com/bazel-contrib/vscode-bazel/pull/384/files#diff-f3f20d3eedcd2c0127856ac96df3014f449e9e6324f5dcd3b9ae526693f44222R170
How? Firstly
this.bazelInfo
is meant to be aMap<string, string>>
, not an instance ofBazelInfo
. But the root cause is that the debugger program can't resolve thevscode
import which got inserted as a dependency fromBazelComand
.The text was updated successfully, but these errors were encountered: