简体   繁体   English

安装 gulp-sass 时的 NPM 警告:“cross-spawn-async@2.2.4...”

[英]NPM warning when installing gulp-sass: "cross-spawn-async@2.2.4..."

When installing gulp-sass through PowerShell, I saw an NPM warning that I am trying to understand.在通过 PowerShell 安装 gulp-sass 时,我看到了一个我试图理解的 NPM 警告。

I typed npm install gulp-sass in PowerShell, and while it appears the installation was successful, I saw this warning in the beginning:我在 PowerShell 中输入npm install gulp-sass ,虽然看起来安装成功了,但我在开头看到了这个警告:

npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead! npm WARN 已弃用 cross-spawn-async@2.2.4:cross-spawn 不再需要构建工具链,而是使用它!

I am trying to understand what this warning means and what I should do about it.我试图了解此警告的含义以及我应该如何处理。 What is "it" that I should be using instead of "what"?我应该使用什么“它”而不是“什么”?

It means that cross-spawn-async 2.2.4 is deprecated, and that gulp-sass is currently using that version.这意味着不推荐使用 cross-spawn-async 2.2.4,并且 gulp-sass 目前正在使用该版本。 "It" is the updated cross-spawn package . “它”是更新的交叉生成包

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM