错误原因,新版插件做了修改,需要修改安装方式 npm install --save-dev jshint gulp-jshint复制代码 转载于:https://juejin.im/post/5c062dc7f265da61327f1517