Package Details: code-git 1.38.0.r14618.g676ee1c945a-1

Git Clone URL: https://aur.archlinux.org/code-git.git (read-only, click to copy)
Package Base: code-git
Description: The Open Source build of Visual Studio Code (vscode) editor - git latest
Upstream URL: https://github.com/microsoft/vscode
Keywords: vscode
Licenses: MIT
Conflicts: visual-studio-code-git
Provides: visual-studio-code-git
Submitter: Zrax
Maintainer: Zrax
Last Packager: Zrax
Votes: 15
Popularity: 0.101411
First Submitted: 2017-12-18 23:10
Last Updated: 2020-07-14 15:27

Latest Comments

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

Zrax commented on 2019-11-06 22:04

For now, you'll need to install an old (6.x) version of electron to build code-git. I'll see about getting an electron6 package to avoid requiring an old version of the "main" electron package.

hugegameartgd commented on 2019-10-29 17:24

I get this error using yay -S --devel --timeupdate --rebuild --mflags "mem_limit=7000" code-git:

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.3.7-arch1-2-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /run/media/user/user/yay/code-git/src/vscode/node_modules/nsfw

Edit: still fails when building fresh packages

Zrax commented on 2019-10-14 20:56

Package updated to bump up the default mem limit (6G) and switch back to electron 6.0.

hugegameartgd commented on 2019-10-06 10:21

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 ~]$ 

hugegameartgd commented on 2019-07-14 15:28

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

Mythra commented on 2019-07-14 14:12

@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

hugegameartgd commented on 2019-07-14 11:20

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

Mythra commented on 2019-07-07 15:06

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

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

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