Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Install Extension via bash throws "DeprecationWarning" #2271

Closed
JayJayJazz opened this issue Sep 11, 2020 · 2 comments
Closed

[Linux] Install Extension via bash throws "DeprecationWarning" #2271

JayJayJazz opened this issue Sep 11, 2020 · 2 comments
Labels
external issue Issue with something else than LaTeX-Wokshop

Comments

@JayJayJazz
Copy link

Preliminary questions [Required]

Disable all the other extensions except for LaTeX Workshop, and check that you still see this issue. [Required]

You still see this issue?: Yes

Make sure to visit the wiki FAQ before filling an issue.

You visited the wiki?: Yes

If your issue is with compiling a document (not having to do with finding the root file of a project), check first that you can compile manually.

You can compile a TeX document manually?: Yes

Describe the bug [Required]

When installing the extension via the Linux bash / console, you receive a deprectation warning:

Installing extensions...
(node:5328) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Extension 'James-Yu.latex-workshop-8.12.0.vsix' was successfully installed.

To Reproduce

Steps to reproduce the behavior:

  1. Open any terminal application on a Linux machine (VSCode is already installed)
  2. Execute "code --install-extension James-Yu.latex-workshop-8.12.0.vsix"
  3. See error

Expected behavior

The deprecation warning should not occur.

Desktop [Required]

  • OS: Linux (Fedora 32)
  • VS Code version: 1.42
  • Extension version: 8.12
  • TeX distribution version: TeX Live 2019

Additional questions

Are you using VSCodium?

No

Are you using LaTeX Workshop with VS Code Remote?

No

@JayJayJazz
Copy link
Author

Hmm, this seems to be the root cause: microsoft/vscode#82524

@tamuratak
Copy link
Contributor

It is not related to LaTeX Workshop.

@tamuratak tamuratak added the external issue Issue with something else than LaTeX-Wokshop label Sep 11, 2020
Repository owner locked as resolved and limited conversation to collaborators Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
external issue Issue with something else than LaTeX-Wokshop
Projects
None yet
Development

No branches or pull requests

2 participants