Closed
Description
- Clone
https://github.com/microsoft/vscode-remote-try-node
into a container volume npm install
works fine- Run
Rebuild Container
npm install
get the following error:
node@1493723f89c2:/workspaces/vscode-remote-try-node$ npm install
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module '/home/node/.vscode-server-insiders/data/User/workspaceStorage/fbaf90b076ac78e0d27774a5306a7fcd/ms-vscode.js-debug/bootloader.js'
Require stack:
- internal/preload
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at Module._preloadModules (internal/modules/cjs/loader.js:1277:12)
at loadPreloadModules (internal/bootstrap/pre_execution.js:439:5)
at prepareMainThreadExecution (internal/bootstrap/pre_execution.js:71:3)
at internal/main/run_main_module.js:7:1 {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'internal/preload' ]
}
Running node
or npm
fails with the same exception.