Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create .deb package for Debian-based Linux distros #237287

Open
cataluna84 opened this issue Jan 5, 2025 · 0 comments
Open

Create .deb package for Debian-based Linux distros #237287

cataluna84 opened this issue Jan 5, 2025 · 0 comments
Assignees

Comments

@cataluna84
Copy link

Does this issue occur when all extensions are disabled?: Haven't reached that part yet

  • VS Code Version: 1.96.2
  • OS Version: Ubuntu 22.04.5 LTS

I'm getting an error when creating .deb file after building Code - OSS for linux

I followed all the steps from How to Contribute guide in the official vscode repository.

This step did complete just fine
$ npm run gulp vscode-linux-x64

I am also able to build the min version
$ npm run gulp vscode-linux-x64-min

But when I try to create .deb file for easy installation using
$ npm run gulp vscode-linux-x64-build-deb

I get this output (error), and I have no idea why it's happening.

> [email protected] gulp
> node --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js vscode-linux-x64-build-deb

(node:524294) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[21:30:08] Using gulpfile /media/cataluna84/Extension/VisualStudioCode/vscode/gulpfile.js
[21:30:08] Starting 'vscode-linux-x64-build-deb'...
[21:30:08] 'vscode-linux-x64-build-deb' errored after 264 ms
[21:30:08] Error: Command failed: fakeroot dpkg-deb -Zxz -b code-oss-amd64 deb
dpkg-deb: error: failed to open package info file 'code-oss-amd64/DEBIAN/control' for reading: No such file or directory

    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at ChildProcess.exithandler (node:child_process:414:12)
    at ChildProcess.emit (node:events:524:28)
    at ChildProcess.emit (node:domain:552:15)
    at maybeClose (node:internal/child_process:1101:16)
    at Socket.<anonymous> (node:internal/child_process:456:11)
    at Socket.emit (node:events:524:28)
    at Socket.emit (node:domain:552:15)
    at Pipe.<anonymous> (node:net:350:12)

Someone, has also created a StackOverflow post regarding the same, with a slightly different error I also faced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants