devcontainers / devcontainers/features

feature node: can't load bootsrap.js

Open
#913 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.5k
Forks
621
Avg merge
2d 11h
Merged PRs (30d)
4

Description

Just started happening

```
FROM mcr.microsoft.com/devcontainers/go:1-1.20-bullseye

```

Its also happening with other base images.

```
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
// "ghcr.io/devcontainers-contrib/features/neovim-apt-get:1": {},
"ghcr.io/dhoeric/features/act:1": {},
"ghcr.io/guiyomh/features/vim:0": {},
"ghcr.io/devcontainers-contrib/features/tmux-apt-get:1": {},
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/hugo:1": {
"extended": true
},
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
},

```

```
╰─⠠⠵ npm install
node:internal/modules/cjs/loader:1147
throw err;
^

Error: Cannot find module '/home/vscode/.vscode-server/data/User/workspaceStorage/af6cfb4038b5a33d85eb5ea5ee538367/ms-vscode.js-debug/bootloader.js'
Require stack:
- internal/preload
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._load (node:internal/modules/cjs/loader:985:27)
at internalRequire (node:internal/modules/cjs/loader:175:19)
at Module._preloadModules (node:internal/modules/cjs/loader:1582:5)
at loadPreloadModules (node:internal/process/pre_execution:755:5)
at setupUserModules (node:internal/process/pre_execution:193:5)
at prepareExecution (node:internal/process/pre_execution:153:5)
at prepareMainThreadExecution (node:internal/process/pre_execution:56:10)
at node:internal/main/run_main_module:11:19 {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'internal/preload' ]
}

Node.js v20.11.1```

Doing nvm install and then reload window, get node working again't but no my port forwarding has broke

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.