Package Details: code-git 1.102.0.r1.gc6e8ac1-1

Git Clone URL: https://aur.archlinux.org/code-git.git (read-only, click to copy)
Package Base: code-git
Description: OSS version of Visual Studio Code editor
Upstream URL: https://github.com/microsoft/vscode
Keywords: vscode
Licenses: MIT
Conflicts: code, vscode
Provides: code, vscode
Submitter: Zrax
Maintainer: oech3
Last Packager: oech3
Votes: 17
Popularity: 0.000000
First Submitted: 2017-12-18 23:10 (UTC)
Last Updated: 2025-06-24 02:23 (UTC)

Required by (18)

Sources (4)

Pinned Comments

oech3 commented on 2025-05-19 11:39 (UTC) (edited on 2025-05-21 13:40 (UTC) by oech3)

electron dependency is swapped with electronNM at packaging.

Minify is disabled by default (see bottom of build()).

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

LinuxUserGD commented on 2019-10-06 10:21 (UTC)

The build fails with the following error (using yay -S --devel code-git)

[12:15:24] Starting bundle-extensions-build ...
(node:107256) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
[12:17:39] Bundled extension: python/extension.webpack.config.js...
[12:17:39] Bundled extension: git-ui/extension.webpack.config.js...
[12:17:41] Bundled extension: debug-auto-launch/extension.webpack.config.js...
[12:17:42] Bundled extension: debug-server-ready/extension.webpack.config.js...
[12:17:43] Bundled extension: grunt/extension.webpack.config.js...
[12:17:43] Bundled extension: gulp/extension.webpack.config.js...
[12:17:43] Bundled extension: jake/extension.webpack.config.js...
[12:17:46] Bundled extension: image-preview/extension.webpack.config.js...
[12:17:47] Bundled extension: configuration-editing/extension.webpack.config.js...
[12:17:47] Bundled extension: merge-conflict/extension.webpack.config.js...
[12:17:49] Bundled extension: php-language-features/extension.webpack.config.js...
[12:18:12] Bundled extension: npm/extension.webpack.config.js...
[12:18:16] Bundled extension: css-language-features/extension.webpack.config.js...
[12:18:16] Bundled extension: extension-editing/extension.webpack.config.js...
[12:18:24] Bundled extension: emmet/extension.webpack.config.js...
[12:18:28] Bundled extension: html-language-features/extension.webpack.config.js...
[12:18:28] Bundled extension: json-language-features/server/extension.webpack.config.js...
[12:18:28] Bundled extension: json-language-features/extension.webpack.config.js...
[12:18:34] Bundled extension: git/extension.webpack.config.js...
[12:18:38] Bundled extension: typescript-language-features/extension.webpack.config.js...
Unhandled Rejection at: Promise Promise {
  _bitField: 152305664,
  _fulfillmentHandler0:
   { Error: /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts
   ./src/util/links.ts
   [tsl] ERROR in /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(17,6)
         TS2304: Cannot find name 'const'.
   /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts
   ./src/util/links.ts
   [tsl] ERROR in /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(22,6)
         TS2304: Cannot find name 'const'.
   /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts
   ./src/util/links.ts
   [tsl] ERROR in /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(25,24)
         TS7006: Parameter 'knownScheme' implicitly has an 'any' type.
     message:
      '/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts\n./src/util/links.ts\n\u001b[90m[tsl] \u001b[39m\u001b[1m\u001b[31mERROR\u001b[39m\u001b[22m\u001b[1m\u001b[31m in \u001b[39m\u001b[22m\u001b[1m\u001b[36m/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(17,6)\u001b[39m\u001b[22m\n\u001b[1m\u001b[31m      TS2304: Cannot find name \'const\'.\u001b[39m\u001b[22m\n/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts\n./src/util/links.ts\n\u001b[90m[tsl] \u001b[39m\u001b[1m\u001b[31mERROR\u001b[39m\u001b[22m\u001b[1m\u001b[31m in \u001b[39m\u001b[22m\u001b[1m\u001b[36m/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(22,6)\u001b[39m\u001b[22m\n\u001b[1m\u001b[31m      TS2304: Cannot find name \'const\'.\u001b[39m\u001b[22m\n/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts\n./src/util/links.ts\n\u001b[90m[tsl] \u001b[39m\u001b[1m\u001b[31mERROR\u001b[39m\u001b[22m\u001b[1m\u001b[31m in \u001b[39m\u001b[22m\u001b[1m\u001b[36m/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(25,24)\u001b[39m\u001b[22m\n\u001b[1m\u001b[31m      TS7006: Parameter \'knownScheme\' implicitly has an \'any\' type.\u001b[39m\u001b[22m',
     plugin: 'webpack-stream',
     showProperties: true,
     showStack: false,
     __safety: { toString: [Function: bound ] } },
  _rejectionHandler0: undefined,
  _promise0: undefined,
  _receiver0: undefined } reason: { [Error: /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts
./src/util/links.ts
[tsl] ERROR in /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(17,6)
      TS2304: Cannot find name 'const'.
/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts
./src/util/links.ts
[tsl] ERROR in /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(22,6)
      TS2304: Cannot find name 'const'.
/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts
./src/util/links.ts
[tsl] ERROR in /run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(25,24)
      TS7006: Parameter 'knownScheme' implicitly has an 'any' type.]
  message:
   '/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts\n./src/util/links.ts\n\u001b[90m[tsl] \u001b[39m\u001b[1m\u001b[31mERROR\u001b[39m\u001b[22m\u001b[1m\u001b[31m in \u001b[39m\u001b[22m\u001b[1m\u001b[36m/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(17,6)\u001b[39m\u001b[22m\n\u001b[1m\u001b[31m      TS2304: Cannot find name \'const\'.\u001b[39m\u001b[22m\n/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts\n./src/util/links.ts\n\u001b[90m[tsl] \u001b[39m\u001b[1m\u001b[31mERROR\u001b[39m\u001b[22m\u001b[1m\u001b[31m in \u001b[39m\u001b[22m\u001b[1m\u001b[36m/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(22,6)\u001b[39m\u001b[22m\n\u001b[1m\u001b[31m      TS2304: Cannot find name \'const\'.\u001b[39m\u001b[22m\n/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts\n./src/util/links.ts\n\u001b[90m[tsl] \u001b[39m\u001b[1m\u001b[31mERROR\u001b[39m\u001b[22m\u001b[1m\u001b[31m in \u001b[39m\u001b[22m\u001b[1m\u001b[36m/run/media/user/Windows/.cache/yay/code-git/src/vscode/extensions/markdown-language-features/src/util/links.ts(25,24)\u001b[39m\u001b[22m\n\u001b[1m\u001b[31m      TS7006: Parameter \'knownScheme\' implicitly has an \'any\' type.\u001b[39m\u001b[22m',
  plugin: 'webpack-stream',
  showProperties: true,
  showStack: false,
  __safety: { toString: [Function: bound ] } }
[12:18:41] The following tasks did not complete: vscode-linux-x64-min
[12:18:41] Did you forget to signal async completion?

*** NOTE: If the build failed due to running out of file handles (EMFILE),
*** you will need to raise your max open file limit.
*** You can check this for more information on how to increase this limit:
***    https://ro-che.info/articles/2017-03-26-increase-open-files-limit
Error making: code-git
[user@archlinux ~]$ 

LinuxUserGD commented on 2019-07-14 15:28 (UTC) (edited on 2019-07-14 15:30 (UTC) by LinuxUserGD)

Thanks! "export mem_limit=6000" worked for me.

Mythra commented on 2019-07-14 14:12 (UTC)

@hugegameartgd no, I was walking about the memory limit that was hardcoded for building code.git when calling gulp. Not when actually using code. This has been added though with the latest pkgbuild: https://aur.archlinux.org/cgit/aur.git/commit/?h=code-git&id=8f1d4f52cf99

LinuxUserGD commented on 2019-07-14 11:20 (UTC)

@SecurityInsanity Something like this? https://stackoverflow.com/a/44642360

Mythra commented on 2019-07-07 15:06 (UTC)

I've been running out of memory trying to compile the gulp tasks lately. Would it be possible to get an environment variable or something to bump this up without having to modify PKGBUILD locally?

bparsons commented on 2019-04-19 12:56 (UTC)

Upstream currently lists Node.JS, x64, version >= 10.15.1, < 11.0.0 in requirements. (https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run)

I have been building this with nodejs-lts-dubnium as a dependency instead of nodejs-lts-carbon.

bilabila commented on 2019-04-14 08:41 (UTC)

Hi, I don't know why using two spaces in "Code - OSS" in product.json.

Zrax commented on 2019-04-01 04:23 (UTC)

@ShayBox: You'll need to convince Microsoft to make it buildable with nodejs 10.x -- currently it isn't, which is why we require building with 8.x (carbon). However, once its built, you can always go back to the normal nodejs package, so you might consider building code in a VM or chroot, if you can't on your host system.

darkbasic commented on 2019-03-06 16:07 (UTC)

The build fails with the following error:

[17:05:01] Starting compile-build ... [17:05:01] Finished compile-build after 0 ms [17:05:01] Starting optimize-vscode ... [17:05:01] 'vscode-linux-x64-min' errored after 2.18 min [17:05:01] out-build/vs/workbench/services/files/node/remoteFileService.js:542 return super.updateContent(target, content.value, { encoding: content.encoding }); ^^^^^

SyntaxError: 'super' keyword unexpected here at NodeScriptLoader._loadAndEvalScript (evalmachine.<anonymous>:801:26) at evalmachine.<anonymous>:780:31 at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)

NOTE: If the build failed due to running out of file handles (EMFILE), you will need to raise your max open file limit. You can check this for more information on how to increase this limit: https://ro-che.info/articles/2017-03-26-increase-open-files-limit