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

(node:1412) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. #93177

Closed
GuruDev0807 opened this issue Mar 22, 2020 · 6 comments
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension info-needed Issue requires more information from poster

Comments

@GuruDev0807
Copy link

GuruDev0807 commented Mar 22, 2020

Issue Type: Bug

I found the following error on console of Developer Tools in Visual Studio Code.
(node:1412) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

VS Code version: Code 1.43.1 (fe22a96, 2020-03-18T07:01:20.184Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 x 3600)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.88GB (5.73GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
githistory don 0.6.3
es7-react-js-snippets dsz 2.7.0
vscode-diff fab 1.4.0
vscode-yarn gam 1.7.0
gc-excelviewer Gra 2.1.34
Angular2 joh 9.1.2
graphql-for-vscode kum 1.15.3
php-ci sma 0.3.6
yarn-ui xqc 0.1.2
@GuruDev0807 GuruDev0807 changed the title Error on Console (node:1412) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. Mar 22, 2020
@vscodebot vscodebot bot removed the new release label Mar 23, 2020
@zix66
Copy link

zix66 commented Mar 23, 2020

same here ►
[Extension Host] (node:3484) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

@jrieken
Copy link
Member

jrieken commented Mar 24, 2020

Please retry without extensions enabled. Select 'Extensions View > ... > Disable all Installed Extensions' and try again. Thanks.

screen shot 2018-05-09 at 08 45 10

@zix66
Copy link

zix66 commented Mar 24, 2020 via email

@alexdima
Copy link
Member

@zix66 The console receives warning messages from both VS Code and from extensions. Most likely it is one of your installed extensions that uses deprecated nodejs API. Unfortunately it is not easy to figure out which one because nodejs does not log the stack to the call.

@alexdima alexdima added the info-needed Issue requires more information from poster label Mar 24, 2020
@zix66
Copy link

zix66 commented Mar 25, 2020 via email

@alexdima
Copy link
Member

Moved to microsoft/live-share#3331

@alexdima alexdima added the *caused-by-extension Issue identified to be caused by an extension label Mar 29, 2020
@github-actions github-actions bot locked and limited conversation to collaborators May 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants