微信小程序开发异常:Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe()

出现异常场景:

将微信开发者工具的调试器从模拟器中分离出来,就会抛出异常

 

 解决方式:

将调试器恢复到模拟器中异常解决

步骤  界面=》勾选调试器

 

原因:未知

参考至:https://developers.weixin.qq.com/community/develop/doc/00006a2ec60ed090b4985a43051800?highLine=Buffer%28%29%2520is%2520deprecated%2520due%2520to%2520security%2520and%2520usability%2520issues.

posted @ 2023-02-14 11:45  流年sugar  阅读(382)  评论(0编辑  收藏  举报