juanfran / gulp-scss-lint

Gulp plugin to lint scss files with `scss-lint`
113 stars 33 forks source link

Input file did not exist or was not readable #79

Closed Accomp closed 7 years ago

Accomp commented 7 years ago

This worked at one point, but possibly through an update, something blew up. I'm using these identical return paths in other gulp tasks but for some reason, linting is throwing an error "Input file did not exist or was not readable." It's quite possible I'm just missing something trivial, but could use another pair of eyes, as it may be a larger issue.

Gulp Task:

gulp.task('styles-lint', function() {

  return gulp.src([
    './app/styles/**/*.scss',
    '!./app/styles/vendors/**/*'
  ])

    .pipe(cache('lint-sass'))
    // Lint Sass
    .pipe(scsslint({
      bundleExec: true,
      config: '._scss-lint.yml'
    }));

});

Terminal Feedback:

$ gulp styles-lint
[19:24:35] Using gulpfile /srv/mgmt/local/gulpfile.js
[19:24:35] Starting 'styles-lint'...
[19:24:36] Error (gulp-scss-lint): Input file did not exist or was not readable
[19:24:36] Finished 'styles-lint' after 938 ms

Hopefully this is enough information, but please ask if you need more. I've also checked to ensure the files have read access as well.

Accomp commented 7 years ago

Issue with lint config path