问题描述
当我开始一个新项目并制作一个新的gulpfile时,开始出现此随机错误.
Started getting this random error when I started a new project and made a new gulpfile.
每当我用口吃的时候我都会明白的.不仅在这个项目上,它在所有其他项目上也开始发生.
I get it whenever I run gulp. It isn't just on this project it has started happening on all other projects.
我已阅读到环境变量可能存在问题,因此我已对其进行了更新.
I have read that there might be an issue with environment variables so I have updated these.
我最近还运行了ruby安装程序.
I have also recently ran the ruby installer.
下面的屏幕截图显示了我的环境变量:
Screenshot below shows my environment variables:
我快要死了..希望得到一些帮助.
I'm at a deadend.. Would appreciate some help.
欢呼
更新-运行gulp后出现完整错误消息:
Update - Full Error message after running gulp:
推荐答案
就我而言,这是我必须安装的通过命令npm -g install gulp-cli
进行gulp-cli(也必须在项目中安装gulp本地语言)
In my case it was that I had to installgulp-cli by command npm -g install gulp-cli
(also I had to install gulp localy in project)
这篇关于Gulp-术语"gulp"未被识别为cmdlet的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!