void-linux / void-linux/void-packages

VSCode not building

Open
#58,872 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 6.12.69_1 x86_64-musl GenuineIntel uptodate rrrn

Package(s) Affected

vscode

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

npm error Class extends value undefined is not a constructor or null
npm error A complete log of this run can be found in: /tmp/.npm/_logs/2026-02-08T04_59_54_317Z-debug-0.log
=> ERROR: vscode-1.100.3_1: do_build: 'npm install -g npm@${_npmver}' exited with 1
=> ERROR: in do_build() at srcpkgs/vscode/template:42

Actual behaviour

To build

Steps to reproduce

./xbps-src pkg vscode

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running ./xbps-src pkg vscode and inspect srcpkgs/vscode/template, especially do_build() at line 42. Investigate the reported npm install -g npm@${_npmver} failure and verify that the vscode package build completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell, vscode
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.