Html 有什么方法可以检查您安装的 gulp 版本吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38623616/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 13:38:46  来源:igfitidea点击:

Is there any way to check what gulp version you have installed?

htmljsongitgulp

提问by the12

Is there any way to check what gulp version you have installed and also what version of gulp is being offered by the website? I've searched online, and looked at the gulp website, but cannot find the version I need to put in my JSON file.

有什么方法可以检查您安装的 gulp 版本以及网站提供的 gulp 版本?我在网上搜索过,并查看了 gulp 网站,但找不到我需要放入 JSON 文件的版本。

回答by Plasma

回答by jbyrd

Using gulp -vdid not work for me (I get the error 'gulp' is not recognized as an internal or external command, operable program or batch file.I have NPM installed and the following is what worked for me:

使用gulp -v对我不起作用(我得到了'gulp' is not recognized as an internal or external command, operable program or batch file.安装 NPM的错误,以下是对我有用的:

npm list gulp

npm list gulp