首页 > 解决方案 > Vscode 扩展:来自未知来源的 DeprecationWarning

问题描述

在我的 vscode 扩展(https://github.com/razetime/bqn-vscode)上,我收到一个错误,这并不完全源于我的代码:

(node:7292) [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)

文件的路径是C:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js,我不明白为什么会导致这个问题。

结果,扩展程序没有运行,它的主要要求 - 反斜杠符号完成不起作用。它的工作原理是输入反冲,然后输入不同的键来获得所需的符号。我想知道如何解决这个问题,这样我才能让它正常工作。截至目前,它与command 'language-bqn.backslash' not found

标签: javascriptnode.jstypescriptvisual-studio-codevscode-extensions

解决方案


推荐阅读