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

"Configuration file not found" with predefined config #34

Open
JonGarbayo opened this issue Apr 9, 2018 · 0 comments
Open

"Configuration file not found" with predefined config #34

JonGarbayo opened this issue Apr 9, 2018 · 0 comments

Comments

@JonGarbayo
Copy link

Hi!

I'm new to Gulp, and I have a little problem with your module.

This code:

var gulp = require('gulp'),
    sass = require('gulp-sass'),
    csscomb = require('gulp-csscomb');

gulp.task('build-sass', function ()
{
    return gulp.src('css/bemit/main.scss')
        .pipe(sass())
        .pipe(csscomb('csscomb'))
        .pipe(gulp.dest('css/bemit/'));
});

give me this error: Error: Configuration file not found: csscomb.

I also tried with the two other provided config, 'yandex' and 'zen', but I got the same error. I also added the .json extension to be sure, but same result. I checked in the node_modules/csscomb/config/ folder if the 3 JSON files were here, and yes they are.

The bare function csscomb() works by the way.

The doc says:

You can also specify a pre-defined configuration. Ex.: csscomb('zen')

So I don't understand the problem.

Can you help me, or provide a fix?

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

1 participant