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
错误信息如下:
(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重启的问题呢?