-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find module 'gulp-help' #1324
Comments
The answer is that I missed the step of running |
Thanks marking as question for others searching. |
I just into this as well after an npm install followed by the automatic choice. There's no package.json inside the semantic directory so it doesn't make a difference to run npm install again in there. Perhaps the docs are outdated? |
Build tools were updated recently, this issue was using the old build tools that required npm install.
To update semantic you just need to update using |
Do I understand the steps correctly for how to add semantic-ui to an existing project?
I'm having issues with an existing dependency not updating correctly so I also had to blow away my node_modules after installing semantic-ui, then doing another npm update and npm install. I'm still running into errors, each time I do it I'm getting different issues at the |
Just 3 steps
Update is
What issue are you running into? |
I have the same issue as the OP with just the 3 commands |
I'm also running into this problem (Error: Cannot find module 'gulp-help'). |
I dont believe it was always the case, but it appears having gulp installed locally is not enough. You will need to install gulp globally. I'll be revising the guide. I'm also working on fixing some other issues with build tools that i'd like to release shorty. |
I installed gulp globally, and I am still having this issue. |
I'm also having the same issue: I installed it into an existing metalsmith project, so maybe that's why it causes problems. MY project structure is:
When I look into:
all the necessary modules are there, including gulp-help, so I think the gulpfile inside EDIT: Ok, it appears that |
Are you importing tasks into an external gulp file? Incoming fix in next patch for this #2668 Can you try against
|
No, I don't, or at least I haven't yet. I'm just following the instructions as everyone else to get started. In my current metalsmith directory (myproject), I do:
When I cd into As a dirty hack to see what's happening, I moved the |
When installing semantic-ui, Did the install hang after "setup" script (that you ctrl+ced out of)? This could keep you from grabbing peerDependencies (which occurs after setup). This is also fixed in |
Yes, the install did hang after setup, so I had to exit manually.
Does this mean the next version? |
Yes, just uninstall semantic and reinstall it with this command:
On Thursday, July 23, 2015, iamachimp notifications@github.com wrote:
|
Thanks, will do. |
@iamachimp Yes, to avoid deciding whether the 'next' release is a patch or minor release before publishing all work for the next release is just referred to as When the feature-set is complete I attach a specific version number. |
For anyone else following the Getting Started guide and hitting this error, try upgrading npm. It looks like the docs assume you're using npm 3, which installs dependencies alongside semantic. However, if you're still using npm 2 (which is the default for the current Node LTS release v4), then semantic's dependencies are installed in a node_modules subdirectory, which causes a 'cannot find module gulp-help' error. Not sure if this issue is all that related, but this is the first result on Google for the exact error message so hopefully leaving this here will save someone a bit of time in future. |
Thanks, and please let me know how I can help adjust the guide to accommodate. |
Also you get an 'help' of undefined typerror if you use gulp@4 alpha. I have npm v3.3.12 , gulp 3.9.0 and I can't build the semantic, when I run the gulp or gulp build it shows me NO error, all goes correct with green letters bulding, it finishes at 1 second ( very fast) BUT I don't see any files inside any /dist folder, no new css file added to the whole project's folder. ( I searched all over the internet but maybe this is a new bug because of the new version of semantic, I don't know, please https://gitter.im/Semantic-Org/Semantic-UI ) |
When I hit above error, I just cd to There is definitely issue with fresh installs on "stale npms"? Mine is
|
Its my issue with removing peer dependencies in last release. It'll be fixed in next patch. |
Hi all, wanted to see if this had been fixed yet? Still having this same issue. Thanks |
I don't have those problems anymore. I have updated semantic, and I have On Tue, Mar 15, 2016 at 1:28 AM rmstinson notifications@github.com wrote:
|
I cloned https://github.com/Semantic-Org/Semantic-UI/ fresh for my docs folder and had never run `npm install` in the freshly cloned folder before. Hopefully this extra sentence will help another poor lost soul like me. [Here is the comment where I found the fix to why `gulp build-docs` wasn't working](Semantic-Org/Semantic-UI#1324 (comment))
I had this error and a bunch of others all looping around. In the end I had to do this:
Note: On npm v5+ you will need to call |
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:
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.
The text was updated successfully, but these errors were encountered: