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

Error Compiling theme #197

Open
umbundu opened this issue Jul 12, 2017 · 11 comments
Open

Error Compiling theme #197

umbundu opened this issue Jul 12, 2017 · 11 comments

Comments

@umbundu
Copy link

umbundu commented Jul 12, 2017

I am getting this error:
Error: Cannot find module 'require-dir'

Any ideas? I am new to node and npm.

Thanks,
Everardo

@adamjgrant
Copy link
Owner

adamjgrant commented Jul 12, 2017 via email

@umbundu
Copy link
Author

umbundu commented Jul 12, 2017

Hello Adam,
Thank you for such a prompt reply! I just wanted to change the base font-size from 16px to 12px and recompile the whole thing but cannot figure out what is the problem. Being new to node, grunt, etc is not helping.
Any suggestions for dummies, please!
Everardo

@umbundu
Copy link
Author

umbundu commented Jul 12, 2017

By the way, I love how light and beautiful this is! Trying to convince my team to drop Bootstrap and go with a lighter framework!

@adamjgrant
Copy link
Owner

Love to hear that!

So were you able to compile before changing the base font-size?

Could you paste the full stack trace here please?

@umbundu
Copy link
Author

umbundu commented Jul 12, 2017

No. I just downloaded the original css and js files from your repository. I have tried running gulp or gulp gulpfile.js but alwways get the folloiwng error.

C:_aprender\kickstartcoffee\kickstart-master>gulp
module.js:471
throw err;
^

Error: Cannot find module 'require-dir'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:_aprender\kickstartcoffee\kickstart-master\gulpfile.js:2:18)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

@adamjgrant
Copy link
Owner

adamjgrant commented Jul 12, 2017 via email

@umbundu
Copy link
Author

umbundu commented Jul 12, 2017

I have done that several times but keep getting the same message. Should i try to compile the sass individually?

@adamjgrant
Copy link
Owner

adamjgrant commented Jul 13, 2017 via email

@umbundu
Copy link
Author

umbundu commented Jul 13, 2017

Adam,
I am sorry: i have tried everything I know, short of getting all the less files and putting them in a new folder and the run koala or gulp to generate the css file i need.
Thanks,
Everardo

@adamjgrant
Copy link
Owner

adamjgrant commented Jul 13, 2017 via email

@umbundu
Copy link
Author

umbundu commented Jul 14, 2017

Sorry, i meant the sass files.

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

2 participants