简体   繁体   English

我对 Gulp 和 Visual Studio Code 终端有疑问

[英]I have a problem with Gulp and the Visual Studio Code terminal

I have been using gulp.js for some time and everything was fine, but today by inserting this code I saw that it gave me this problem:我一直在使用 gulp.js 一段时间,一切都很好,但是今天通过插入这段代码,我看到它给了我这个问题:

Terminal终端

can you tell me why?你能告诉我为什么吗? how do i solve this problem?我该如何解决这个问题?

Package.json file Package.json文件

gulpfile 1 gulpfile 2吞咽文件 1吞咽文件 2

Translated error:翻译错误:

I'm sorry if the error is in Italian: I immediately translate anyway: gulp, Term 'gulp' not recognized as a cmdlet name, function.如果错误是意大利语,我很抱歉:无论如何我都会立即翻译:gulp,术语“gulp”未被识别为 cmdlet 名称,function。 executable program or script file, Check the spelling of the name or verify that the path is included and correct.可执行程序或脚本文件,检查名称的拼写或验证路径是否包含且正确。 then try again: In row: 1 car: 1然后再试一次: 在行:1 车:1

  • gulp watch gulp 手表
  •  + CategoryInfo: ObjectNotFound: (gulp: String) [], CommandNotFoundException + FullyQualifiedErrorId: CommandNotFoundException

You have to install the gulp-cli package to use the gulp command.您必须安装 gulp gulp-cli package 才能使用gulp命令。 To do so, you can use npm i -g gulp-cli (or yarn global add gulp-cli if you use yarn) to install the gulp command.为此,您可以使用npm i -g gulp-cli (或yarn global add gulp-cli ,如果您使用 yarn)安装gulp命令。

暂无
暂无

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

相关问题 如何在使用Visual Studio 2015 / Community / Visual Studio Code进行开发期间调试gulp插件? - How to debug gulp plugins during developing using Visual Studio 2015 / Community / Visual Studio Code? Visual Studio Code 扩展开发问题 typescript - Visual Studio Code extension development problem with typescript 在 Javascript 的 Visual Studio 代码上返回 output 时出现问题 - Problem returning output on Visual Studio Code for Javascript 我对 npm package nexe 和 Visual Studio 有问题,试图在 an.exe 中转换 nodejs 应用程序 - I have a problem with npm package nexe and visual studio, trying to convert a nodejs app in an .exe Visual Studio Code 是否有“后退”按钮? - Does Visual Studio Code have a 'back' button? JavaScript函数无法在Visual Studio代码中将任何内容记录到终端 - JavaScript Function Not Logging Anything to the Terminal in Visual Studio Code 无法使用 Visual Studio Code 终端运行节点文件 - Can't run node file using Visual Studio Code terminal 我的 javascript function 跳过了 jquery 代码,是因为我必须将 ZD223E14Z524766 安装到 Visual Studio 代码中吗? - My javascript function skips over jquery code, is it because I have to install jquery into visual studio code? 即使我有库,我的动画代码也无法在 Visual Studio Code 中运行 - My anime code is not working in Visual Studio Code even though I have the library 当我尝试在 Visual Studio Code 的终端中使用 Node.js 时,我收到“文档未定义”错误消息 - When I try to use Node.js in Visual Studio Code’s terminal, I get “document is not defined” error messages
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM