void-linux / void-linux/void-packages
VSCode not building
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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