node module fails to load in remote connection in the ms-vscode.js-debug extension #137794
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
*duplicate
Issue identified as a duplicate of another issue(s)
Issue Type: Bug
Running 'npm' in a dev.container, fails with the following command:
$ npm
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module '/home/node/.vscode-server/data/User/workspaceStorage/7bdf84952a5fcab126d4d451217c0221/ms-vscode.js-debug/bootloader.js'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at Module._preloadModules (node:internal/modules/cjs/loader:1276:12)
at loadPreloadModules (node:internal/bootstrap/pre_execution:484:5)
at prepareMainThreadExecution (node:internal/bootstrap/pre_execution:78:3)
at node:internal/main/run_main_module:7:1 {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'internal/preload' ]
}
Running 'npm' on my host, does not render the same issue.
VS Code version: Code 1.62.3 (ccbaa2d, 2021-11-17T08:14:33.711Z)
OS version: Darwin arm64 21.1.0
Restricted Mode: No
Remote OS version: Linux arm64 5.10.47-linuxkit
System Info
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (12)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: