platformio-vscode-ide: Does not work in VS Code 1.72.3 or 1.73.0 insiders -- "Buffer() is deprecated due to security and usability issues"

Whenever PlatformIO is enabled in VS Code, I get the following error in the Developer Tools console, and the extension fails to load:

DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

I’ve looked thoroughly but cannot fix it.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 25 (12 by maintainers)

Most upvoted comments

@logana60, could you provide a remote session to debug this issue? Please ping me at me@ikravets.com

Could someone provide a remote session to debug this issue under your control? Please email me at me@ikravets.com for the details.