Giter Site home page Giter Site logo

Comments (8)

nicbell avatar nicbell commented on August 23, 2024

It is looking for dependencies in the wrong place try adding loadPath to the config.

sass: {
    kickoff: {
        options: {
            unixNewlines: true,
            style: 'expanded',
            lineNumbers: false,
            debugInfo: false,
            precision: 8,
            sourcemap: true,
            loadPath: 'scss/'
        },
        files: {
            'css/kickoff.css': 'scss/kickoff.scss',
            'css/kickoff-old-ie.css': 'scss/kickoff-old-ie.scss'
        }
    }
},

from kickoff.

mrmartineau avatar mrmartineau commented on August 23, 2024

Does loadPath work? I'm not sure it will.. Sass v3.4 was released recently which includes Source maps by default. Remove sourcemap: true from any of the Sass grunt tasks.

As for the dependency errors, I think this new version handles paths differently. In _functions.scss the path to each of the other files should be changed to:

@import "golden-ratio";
@import "modular-scale";
@import "px-to-em";
@import "tint-shade";

Let me know how you get on.

from kickoff.

nicbell avatar nicbell commented on August 23, 2024

loadPath should work, I had this error last week. In the new version it searches for imports relative to the file that is importing them. loadPath overrides this.

from kickoff.

mrmartineau avatar mrmartineau commented on August 23, 2024

ah, didn't know about that. Is this in the current or 'next' version of Kickoff by the way?

from kickoff.

nicbell avatar nicbell commented on August 23, 2024

I first got it with an old version of Kickoff after updating my SASS Ruby gem from 3.3.x to 3.4.x. I have added the fix to all of my Kickoff based projects now.

from kickoff.

mrmartineau avatar mrmartineau commented on August 23, 2024

I should add that to the current version of Kickoff then because it doesn't break existing version.

from kickoff.

FavFabz avatar FavFabz commented on August 23, 2024

All running fine in the new version, well done guys.

from kickoff.

mrmartineau avatar mrmartineau commented on August 23, 2024

Good to hear

from kickoff.

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.