* Fwd: [CG Wiki] ConTeXt with VS Code (https://wiki.contextgarden.net/VSCode) [not found] <CALs_GZVdnbvTMtJz-L3XkXX6HZt26AY8=Tow+khqxM3R6vP9Ag@mail.gmail.com> @ 2022-10-03 7:39 ` Taco Hoekwater via ntg-context 2022-10-03 10:03 ` Max Chernoff via ntg-context 0 siblings, 1 reply; 2+ messages in thread From: Taco Hoekwater via ntg-context @ 2022-10-03 7:39 UTC (permalink / raw) To: Henning Hraban Ramm via ntg-context; +Cc: Taco Hoekwater, Michal Kvasnička [-- Attachment #1.1: Type: text/plain, Size: 2131 bytes --] Message below is forwarded from the wiki mailing list. Anybody? > Begin forwarded message: > > From: Michal Kvasnička <prgosek@gmail.com> > Subject: [CG Wiki] ConTeXt with VS Code (https://wiki.contextgarden.net/VSCode) > Date: 20 September 2022 at 16:31:06 CEST > To: wiki@contextgarden.net > > Hi! > > I tried to use the VS Code extension described in https://wiki.contextgarden.net/VSCode <https://wiki.contextgarden.net/VSCode> but in > > xxx > > I got the following error: > > /home/qasar/Stažené/cont/tex/texmf-context/context/data/vscode/extensions/context/node_modules/vsce/out/package.js:136 > return (translations ?? []) > ^ > > SyntaxError: Unexpected token '?' > at wrapSafe (internal/modules/cjs/loader.js:915:16) > at Module._compile (internal/modules/cjs/loader.js:963:27) > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) > at Module.load (internal/modules/cjs/loader.js:863:32) > at Function.Module._load (internal/modules/cjs/loader.js:708:14) > at Module.require (internal/modules/cjs/loader.js:887:19) > at require (internal/modules/cjs/helpers.js:74:18) > at Object.<anonymous> (/home/qasar/Stažené/cont/tex/texmf-context/context/data/vscode/extensions/context/node_modules/vsce/out/main.js:27:19) > at Module._compile (internal/modules/cjs/loader.js:999:30) > at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) > > Is there any way to discuss it with the extension developer? Can I find somewhere the extension source code (on github or so)? Many thanks. > > Note: I downloaded the last ConTeXt and compiled it in its directory. But I've got an older version (part of TeXLive) installed on my Ubuntu 22.04, too. I hope this is not the cause of the problem. > > Best wishes, > Michal > > _______________________________________________ > Wiki mailing list > Wiki@contextgarden.net > https://lists.contextgarden.net/mailman/listinfo/wiki — Taco Hoekwater E: taco@bittext.nl genderfluid (all pronouns) [-- Attachment #1.2: Type: text/html, Size: 7299 bytes --] [-- Attachment #2: Type: text/plain, Size: 496 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fwd: [CG Wiki] ConTeXt with VS Code (https://wiki.contextgarden.net/VSCode) 2022-10-03 7:39 ` Fwd: [CG Wiki] ConTeXt with VS Code (https://wiki.contextgarden.net/VSCode) Taco Hoekwater via ntg-context @ 2022-10-03 10:03 ` Max Chernoff via ntg-context 0 siblings, 0 replies; 2+ messages in thread From: Max Chernoff via ntg-context @ 2022-10-03 10:03 UTC (permalink / raw) To: ntg-context; +Cc: Max Chernoff, prgosek, taco Hi Taco, Michal, > > > > > /home/qasar/Stažené/cont/tex/texmf-context/context/data/vscode/extensions/context/node_modules/vsce/out/package.js:136 > > > return (translations ?? []) > > > ^ That's the "Nullish coalescing operator", which MDN says is only available in Node.js >= v14. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator What does running: nodejs --version give you? If it's less than v14, then you should probably upgrade your Node.js installation. If that's not possible, then you'll need to downgrade "vsce" to v1.103.1. If it's greater than v14, then you probably have two Node installations and you installed "vsce" with the wrong one. Thanks, -- Max ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-03 10:03 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <CALs_GZVdnbvTMtJz-L3XkXX6HZt26AY8=Tow+khqxM3R6vP9Ag@mail.gmail.com> 2022-10-03 7:39 ` Fwd: [CG Wiki] ConTeXt with VS Code (https://wiki.contextgarden.net/VSCode) Taco Hoekwater via ntg-context 2022-10-03 10:03 ` Max Chernoff via ntg-context
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).