Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 你好尝试运行纱线安装。我不知道这是什么错误_Node.js_Reactjs_Yarnpkg - Fatal编程技术网

Node.js 你好尝试运行纱线安装。我不知道这是什么错误

Node.js 你好尝试运行纱线安装。我不知道这是什么错误,node.js,reactjs,yarnpkg,Node.js,Reactjs,Yarnpkg,我正在运行纱线安装。我不知道这个错误是什么 [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. 纱线使用不推荐的新缓冲区() 升级节点/纱线版本或纱线全局添加纱线可能可以解决此问题。你能试着

我正在运行
纱线安装
。我不知道这个错误是什么

[DEP0005] DeprecationWarning: Buffer() is deprecated due to security and 
usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or 
Buffer.from() methods instead.

纱线使用不推荐的新缓冲区()

升级节点/纱线版本或
纱线全局添加纱线
可能可以解决此问题。你能试着确认一下吗

如果使用新版本,请使用一些类似于
newbuffer()
Buffer()已弃用
)的代码。 最后一个版本
纱线
尚未修复,您只需等待


这是警告,您可以使用
纱线

这不是错误。这只是一个警告。它不允许我安装依赖项。谢谢你,也许会有帮助。他们现在应该已经修好了。