New comment by GiorgiBeriashvili on void-packages repository https://github.com/void-linux/void-packages/pull/23547#issuecomment-658337668 Comment: > The `git not found` error is due to vscode-1.47.0/build/npm/postinstall.js line 77. It can be removed with the line > > ```sh > sed -i -E "/cp\.execSync\('git config pull\.rebase true'\);/d" ${XBPS_BUILDDIR}/vscode-${version}/build/npm/postinstall.js > ``` > in the pre_build() part. Yes, and alongside that line, I also commented out the following: `yarn install --ignore-engines --arch=x64` And then it built VS Code locally without errors. I am unsure if it is correct to comment out those lines, though...