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)

Commits related to this issue

Most upvoted comments

I had this error and a bunch of others all looping around. In the end I had to do this:

  1. Delete node_modules
  2. Delete package-lock.json
  3. Call the following:
npm cache clean
npm install --save semantic-ui

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.