node.js - 当我尝试安装 node.js 时,“DeprecationWarning: Buffer() 因安全性和可用性问题而被弃用”
问题描述
尝试安装 node.js 时15.5.1
出现此错误,我该(node:21252) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
如何纠正?它打开一个powershell,然后过了一会儿它会给出错误(我也不能^C它告诉我修复代码的东西)
解决方案
推荐阅读
- php - PHP中的CURL与直接数据库连接
- angular - 我不知道这是如何工作的。Angular 中的 @Input()
- modelica - JModelica FMU 中的方向导数
- python - python中Andor的高速显示
- autohotkey - 是否可以模拟在 LTR 和 RTL 环境中都有效的“返回一个角色”动作?
- python - 导入“mp3play”插件时出错
- apache - 将规则从旧链接重写到同一域上的新链接
- css - 菜单背景颜色 Wordpress 仅用于主页
- java - 如何将对象列表简化为另一个列表?
- android - popbackstack()不工作