gruntjs / grunt-contrib-sass

Compile Sass to CSS.
http://gruntjs.com/
MIT License
848 stars 141 forks source link

Could not find an option named "load-path" #238

Open sslgeorge opened 6 years ago

sslgeorge commented 6 years ago

I don't know if this has any issue to do with my OS upgrade, but when I run grunt now I get the error

Could not find an option named "load-path".

Below is the structure of the sass config

 sass: {

            dist: {
                //All LTR
                options: {
                    style: 'expanded',
                    loadPath: ['node_modules/foundation-sites/scss']
                },
                files: [{
                    expand: true,
                    cwd: 'src/scss/',
                    src: ['main.scss'],//, 'main-rtl.scss'], //
                    dest: 'src/site/css/',
                    ext: '.css'
                }]
            }
        },

My OS: MacOS High Sierra

andrejpavlovic commented 6 years ago

The correct option name seems to be "includePaths", not "loadPath".