且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“必须在Gulp.set指定任务功能".运行gulp时出错

更新时间:2023-02-16 19:02:28

似乎与Gulp V4有关,有两个选择:

It seems to be related to the Gulp V4, there's two options:

OR

  • 降级gulp版本

要降级,您需要将package.json更新为

To downgrade you need to update your package.json with

"gulp": "^3.9.1",

然后删除node_module文件夹并重新安装npm软件包

And then remove node_module folder and reinstall npm packages

rm -rf node_modules
npm install