Semantic-UI: Error: Cannot find module 'gulp-help'
I’m following the instructions at http://learnsemantic.com/guide/expert.html.
Here’s a minimal version of what I did:
bower install semantic-ui
npm install -g gulp
cd bower_components/semantic-ui
gulp
What I get is:
Error: Cannot find module 'gulp-help'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/rspeer/code/irepad/bower_components/semantic-ui/gulpfile.js:12:18)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
Installing the module named “gulp-help” didn’t help, and neither did going back to 1.0. Someone mentioned that they resolved this on #691, but didn’t say how.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 26 (9 by maintainers)
I had this error and a bunch of others all looping around. In the end I had to do this:
node_modules
package-lock.json
Note: On npm v5+ you will need to call
npm cache clean --force
The answer is that I missed the step of running
npm install
inside the Semantic directory, not just in my project directory.