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

Deprecation warning that cannot show where created #140848

Closed
crystalfp opened this issue Jan 17, 2022 · 3 comments
Closed

Deprecation warning that cannot show where created #140848

crystalfp opened this issue Jan 17, 2022 · 3 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@crystalfp
Copy link

Issue Type: Bug

  1. Run code and go to the "output > log (Window)" panel.
  2. The following warning appears:
[2022-01-17 10:49:37.284] [renderer9] [error] [Extension Host] (node:34436) [DEP0005]
DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the
Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
  1. Now rerun code with the suggested option to investigate what is generating the warning, but the following warning appear:
> code --trace-deprecation
Warning: 'trace-deprecation' is not in the list of known options, but still passed to
Electron/Chromium.
  1. The warning inside the output panel remains the same.
    Summarizing, there are few problems:
  • The deprecation about Buffer usage
  • The not working suggestion
  • The warning from command line
  • The ineffective command line option
    Now I have to investigate if the warning is generated by one extension, but the above problems remain.
    Thanks for looking!
    mario

VS Code version: Code 1.63.2 (899d46d, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.74GB (9.69GB free)
Process Argv D:\Projects\VUEIdeaIgniterEnvironment\client\vue-iie.code-workspace
Screen Reader no
VM 0%
Extensions (57)
Extension Author (truncated) Version
vscode-openapi 42C 4.8.1
Bookmarks ale 13.2.2
read-aloud-text azu 1.2.3
spellright ban 3.0.60
github-markdown-preview bie 0.1.0
markdown-footnotes bie 0.0.7
markdown-yaml-preamble bie 0.1.0
vscode-toggle-quotes Bri 0.3.6
refactorix chr 0.3.7
vscode-eslint dba 2.2.2
vscode-pandoc Dou 0.0.8
eslint-disable-snippets drK 1.3.0
gitlens eam 11.7.0
vscode-great-icons emm 2.1.79
restore-terminals Eth 1.1.6
vscode-todo-plus fab 4.18.4
auto-close-tag for 0.5.13
todo-tree Gru 0.0.215
plantuml jeb 2.17.0
code-eol jef 1.0.11
vscode-peacock joh 4.0.0
jsdoc-generator kim 0.0.4
tag-rename kri 0.2.1
stack-tabs kyl 0.0.2
git-graph mhu 1.30.0
prettify-json moh 0.0.3
tab-cycle mpo 1.0.1
python ms- 2021.12.1559732655
vscode-pylance ms- 2022.1.1
jupyter ms- 2021.11.1001550889
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.4
notepadplusplus-keybindings ms- 1.0.7
gremlins nho 0.26.0
abracadabra nic 6.9.1
pandocciter not 0.9.2
leaper Onl 0.10.5
vscode-jscpd pau 0.3.4
bib phr 0.3.0
git-file-history pom 1.0.1
typescript-hero rbb 3.0.0
vscode-yaml red 1.3.0
vscode-javascript-booster sbu 14.0.1
code-settings-sync Sha 3.4.3
trailing-spaces sha 0.3.1
markdown-preview-enhanced shd 0.6.1
vscode-scss-formatter sib 2.3.3
unique-window-colors stu 1.0.51
sass-indented syl 1.8.18
tabnine-vscode Tab 3.5.16
es6-string-html Tob 2.12.0
highlight-matching-tag vin 0.10.1
vscodeintellicode Vis 1.2.15
change-case wma 1.0.0
JavaScriptSnippets xab 1.8.0
markdown-all-in-one yzh 3.4.0
preview znc 0.4.0

(1 theme extensions excluded)

@crystalfp
Copy link
Author

The warning appears also with all extensions disabled. In addition there is a second warning:

[2022-01-17 11:08:05.152] [renderer11] [error] Could not resolve terminal cwd {}

@weinand
Copy link
Contributor

weinand commented Jan 17, 2022

/duplicate #136874

@weinand weinand removed their assignment Jan 17, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants
@crystalfp @weinand and others