VS Code调试auto.js遇到Buffer()函数弃用的问题
autojs吧
全部回复
仅看楼主
level 1
wenkebilly 楼主
用VS Code调试auto.js脚本时常报错,VS Code重启,电脑插件(Auto.js-VSCodeExt v0.2.3)重启,手机要重新连接。
错误信息如下:
(node:11284) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and u****lity issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
百度了一圈,说是node.js的新版本已经弃用了Buffer()函数了,但是该怎么解决VS Code重启的问题呢?
2021年05月16日 06点05分 1
level 13
楼主你好,我最近也遇到这样的问题了,之前是正常的。
请问你是怎么解决的呀?还望指教,非常感谢!
2021年07月04日 01点07分 2
挽尊
2021年07月25日 05点07分
挽尊
2021年07月28日 02点07分
挽尊
2021年07月29日 22点07分
挽尊
2021年07月31日 01点07分
1