Skip to content

throw new TypeError('Path must be a string. Received ' + inspect(path)); #134

@IrvingArmenta

Description

@IrvingArmenta

Hello, just installed and tried to see how styledocco works but I keep getting this error:

"throw new TypeError('Path must be a string. Received ' + inspect(path));"

I'm using it with Gulp (gulp-styledocco), however, I also tried to use it directly on the command line and I keep getting that error.
This is the output I get from "gulp-styledocco"
styledocco --out ./build/css/ --name "Herdez" --no-minify /Users/krrrunch/Code/herdez-front/build/css/main.css

I'm pretty sure I installed it correctly with npm install -fg styledocco

this is my gulp function

gulp.task('styledocco',  function () {
  gulp.src('./build/css/*.css')
    .pipe(styledocco({
      out: './build/css/',
      name: 'Herdez',
      'no-minify': true
    }));
});

I know this is not the gulp-styledocco repository but I really think is a styledocco issue.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions