wesleytodd / YeoPress

A Yeoman generator for WordPress
Other
1.08k stars 163 forks source link

[Doc Update Request] Sass is also required before setting up yeopress! #139

Open SherryH opened 9 years ago

SherryH commented 9 years ago

Hello Wesley,

I watched all the videos and read through every writtenup guide when setting up the first yeopress site but got a 'reference not found error from global.js....' error and all css styling did not show up. After a couple of days of debugging i realised that it was because I had no Sass/Ruby in my environment that grunt setup failed due to failed sass-dev task.

Not sure if I am the lucky only one that got this problem so far, but it will be great to add Sass in as one of the required software to reduce some potential agony for newbie users in future.

p.s. I just started learning about website making and yeoman and came across yeopress, thanks for this cool tool! :D

pp.s. Updating grunt-contrib-sass to >0.9.0 solves the sourcemap issue https://github.com/wesleytodd/YeoPress/issues/126

wesleytodd commented 9 years ago

Hey @SherryH, You are not the only one who has had this issue, I think there are some closed issues similar to this one. While it seems like you are doing GREAT at getting started, I have not totally catered development of this project to beginners. My main goal here was for people who are setting up a ton of WP sites to do that more quickly.

That being said, if you would like to write up some stuff based on your experience getting started, things that would have helped you through this process, then I would love to add it to the documentation. Or you could make a blog post about it and we can link it up here.

Either way, good luck with the adventure of learning web development! And glad you are using YeoPress. Feel free to open up issues for any other problems you have.

wesleytodd commented 9 years ago

Sorry, shouldn't have closed it.

SherryH commented 9 years ago

Hello Wesley,

What I found after a lot of try n error was: Sass is also a required package for styles of yeopress theme to work

There were also a lot of troubleshooting e.g. jquery and requirejs didnt load. I suspect that it was because Sass wasn't installed, so grunt setup failed , so bower install didnt get run.

Cheers :) Sherry