Skip to content
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

Cannot find module 'gulp-load-plugins' #3

Closed
AnaghSharma opened this issue Jul 26, 2017 · 4 comments
Closed

Cannot find module 'gulp-load-plugins' #3

AnaghSharma opened this issue Jul 26, 2017 · 4 comments

Comments

@AnaghSharma
Copy link

screen shot 2017-07-26 at 11 16 46 pm

I am getting this error whenever I run npm start. I had been referencing another project for "Jekyll
with Foundation" but it was not working with Github Pages. So I deleted all the contents from local and remote.After that I copied the content of this repo to my [username].github.io repo and tried testing it locally and eventually got this error. Since I am new to Front end and Jekyll, I could not figure out what went wrong.

Any help would be appreciated.

Thanks.

@Fitzonreee
Copy link

Did you run npm install?

@AnaghSharma
Copy link
Author

AnaghSharma commented Jul 27, 2017

@Fitzonreee Yes. I did.

Edit: Restarted mac. Ran npm install again. This time did not get any error in npm start. Ran bundle install which threw a couple of errors (json not getting installed, nokogiri not getting installed and what not). Updated xcode command line tools. This time no error.

One thing I would like to ask is - to test locally do I have to run bundle install and bundle exec jekyll serve --watch only or do I also have to run npm start everytime with it.

Thanks.

@daigofuji
Copy link
Owner

Hi npm start will compile css from scss. If you are not editing scss then you don't have to run it. I agree that the documentation is confusing, I am updating it to clarify a bit. Thanks.

@AnaghSharma
Copy link
Author

Thanks a lot. I figured that out by myself (by hit and trial). :)

Also while installing all the tools, I got a npm WARN saying we recommend yarn and webpack for new projects (instead of bower). So would you recommend to migrate to yarn or stick to bower?

screen shot 2017-07-26 at 10 38 22 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants