Gulp Error: Cannot find module #39;jshint/src/cli#39;(Gulp 错误:找不到模块 jshint/src/cli)
问题描述
所以我已经重新安装了 El Capitan,并且我正在给这些任务运行者再试一次.
我正在关注
一如既往,我永远感激任何建议.
你也需要安装jshint,这样就搞定了问题.
<代码>>npm install --save-dev jshint gulp-jshint
So I've got a fresh install of El Capitan and I'm giving these task runners another go.
I'm following sitepoint's An introduction to Gulp.js, but I'm stuck on step four, when I try to run gulp jshint
I get "Error: Cannot find module 'jshint/src/cli'
"
I've no idea what's causing this, which is why I'm asking here. Below are a couple of screen grabs to help with the issue.
As always, I'm eternally grateful for any advice.
You need to install jshint as well, that will sort out the issue.
> npm install --save-dev jshint gulp-jshint
这篇关于Gulp 错误:找不到模块 'jshint/src/cli'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Gulp 错误:找不到模块 'jshint/src/cli'


基础教程推荐
- Node.js 有没有好的索引/搜索引擎? 2022-01-01
- 为什么我在 Vue.js 中得到 ERR_CONNECTION_TIMED_OUT? 2022-01-01
- Javascript 在多个元素上单击事件侦听器并获取目标 2022-01-01
- 每次设置弹出窗口的焦点 2022-01-01
- 如何在特定日期之前获取消息? 2022-01-01
- 如何使用sencha Touch2在单页中显示列表和其他标签 2022-01-01
- 什么是不使用 jQuery 的经验技术原因? 2022-01-01
- jQuery File Upload - 如何识别所有文件何时上传 2022-01-01
- WatchKit 支持 html 吗?有没有像 UIWebview 这样的控制器? 2022-01-01
- 如何使用 CSS 显示和隐藏 div? 2022-01-01