Package Details: void-git 1.94.0-1

Git Clone URL: https://aur.archlinux.org/void-git.git (read-only, click to copy)
Package Base: void-git
Description: Void is the open-source Cursor alternative. This repo contains the full sourcecode for Void. We have a waitlist for downloading the official release, but you can build and develop Void right now. https://voideditor.com/
Upstream URL: https://voideditor.com/
Licenses: MIT
Provides: void
Submitter: None
Maintainer: None
Last Packager: None
Votes: 0
Popularity: 0.000000
First Submitted: 2025-01-03 21:04 (UTC)
Last Updated: 2025-01-04 13:19 (UTC)

Latest Comments

<deleted-account> commented on 2025-01-22 10:03 (UTC)

Ok that's great, it was already midnight here yesterday... I know this issue, on my machine with 32gb of ram I had to set it to sm like 16386, but then it wouldn't work on machines with 8gb and the internet is floooded with threads about it so according to Microsoft's latest guidelines this line was removed completely to not run into memory issues... "👉 Tip! Run gulp via npm to avoid potential out of memory issues, for example npm run gulp vscode-linux-x64" https://github.com/microsoft/vscode/wiki/How-to-Contribute So I really don't know now :|

I sat down with the void devs and went line by line through the process, they added some of their custom stuff to the build scripts also. What can I say? JavaScript? Turns out c++ is easier to compile.

bpawnz commented on 2025-01-22 04:00 (UTC)

Thanks for the response darkestmedium. I did a little more research after seeing your comment and git cloned the void repo and worked through it. Turns out the issue is related to the fact that the laptop I am building on is a weaker laptop with limited ram. I was able to solve the issue by modifying the packages.json file and modifying the lines below to limit the ram. Not sure if its worth it to you to worry about those modifications but i was able to successfully build it myself with those changes. Wish you the best though man and thanks for the response.

changes to pacakges.json

"compile": "node --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js compile",
"gulp": "node --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js",

The issue was me and not you. Haha.. Have a good day though man.

<deleted-account> commented on 2025-01-21 22:21 (UTC)

Can you check if you have gulp installed? If not, install with pacman, and please re-try to compile. If it works i will commit the fix. Thank You!

<deleted-account> commented on 2025-01-21 22:06 (UTC)

Hi bpawnz, I'm rebuilding the latest beta release, so far so good. This is in very early development but it worked on my machine.

Log doesn't really say much, PKGBUILD is basically copied over from codium so it should work. The compilation takes roughly 40 minutes, even on a high-end cpu.

How much ram do you have? Any chance you're out of memory? VSCode docs state an npm out of mem limit with 16gb or something as far as I remember... Do you have telegram maybe?

Could you check if you're able to build vscodium-git or code-git? https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vscodium-git https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=code-git

bpawnz commented on 2025-01-21 21:40 (UTC) (edited on 2025-01-21 21:42 (UTC) by bpawnz)

This fails when compiling. tried with yay, paru, and makepkg -si.

Would love if you could fix this.. I'd love to get this going.

[16:27:46] Starting build-web-node-paths ...
[16:27:46] Finished build-web-node-paths after 3 ms
[16:27:46] Starting build-date-file ...
[16:27:46] Finished build-date-file after 1 ms
[16:27:46] Starting set-amd ...
Setting build to AMD: false
[16:27:46] Finished set-amd after 0 ms
[16:27:46] Starting compile-api-proposal-names ...
[16:27:46] Starting compilation api-proposal-names...
(node:1373185) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
[16:27:46] Finished compilation api-proposal-names with 0 errors after 127 ms
[16:27:46] Finished compile-api-proposal-names after 141 ms
[16:27:46] Starting compile-src ...
[16:28:08] [mangler] Done collecting. Classes: 8124. Exported symbols: 9857
[16:28:11] [mangler] Done creating class replacements
[16:28:11] [mangler] Starting prepare rename edits
[16:28:13] Starting compilation...
/home/insomnia/.cache/paru/clone/void-git/PKGBUILD: line 195: 1373174 Killed                  npm run gulp vscode-linux-$_vscode_arch
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'void-git-1.94.0-1': 
error: packages failed to build: void-git-1.94.0-1