[NTG-context] Fwd: [CG Wiki] ConTeXt with VS Code (https://wiki.contextgarden.net/VSCode)

Max Chernoff mseven at telus.net
Mon Oct 3 12:03:40 CEST 2022


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


More information about the ntg-context mailing list