GithubHelp home page GithubHelp logo

Comments (7)

junaidrsd avatar junaidrsd commented on July 18, 2024

@dlangston I think you're missing dist folder try running this task first

gulp build

from sc5-styleguide.

dlangston avatar dlangston commented on July 18, 2024

@junaidrsd Thanks for the reply. I haven't needed to run gulp build in the past, is this new? I currently don't have a build task in my gulp file so it fails if I run it. Up until now we have just installed SC5 via npm then ran the default gulp task, staticStyleguide. Thanks again for the help.

from sc5-styleguide.

junaidrsd avatar junaidrsd commented on July 18, 2024

This isn't new this task is a dependency to main tasks. Somehow it did not perform or dist folder might got deleted for some reason. I think I need to display meaningful error message.

from sc5-styleguide.

dlangston avatar dlangston commented on July 18, 2024

So what is the best way to make sure the dist folder is added?

from sc5-styleguide.

junaidrsd avatar junaidrsd commented on July 18, 2024

Dist folder is always there unless one delete it accidentally. I'm 100% occupied with other things otherwise there can be better ways to handle this situation.

from sc5-styleguide.

kasparsd avatar kasparsd commented on July 18, 2024

I had the same issue with a fresh build and adding includeDefaultStyles: true to our config fixed it. This happens because generate() in lib/styleguide.js uses the direct input of options.includeDefaultStyles instead of the parsed version available after sanitizeOptions().

So the readme is actually wrong because the default is not true:

**includeDefaultStyles** (boolean, optional, default: true)

from sc5-styleguide.

kasparsd avatar kasparsd commented on July 18, 2024

Fix available in #1130.

from sc5-styleguide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.