Closed Anenth closed 7 years ago
I believe this means you need a template file.
This might help: Stack Overflow: Setting Up Knyle StyleSheets and/or KSS Node
I had the same error and resolved this issue by using the Absolute path to template directory.
var themeFolder = __dirname + '/less/';
var templateFolder = __dirname + '/styleguide_templates/';
gulp.src([themeFolder + '**/*.less'])
.pipe(gulpkss({
overview: themeFolder + 'styleguide.md', //Absolute path to markdown file which is used for styleguide home page
templateDirectory: templateFolder //Absolute path to template directory, by default kss-node default template is used.
}))
.pipe(gulp.dest( themeFolder + 'styleguide/'));
I know this is an old issue but I faced it as well and sorted it out by manually installing kss
as well.
npm install --save-dev kss
Somehow kss
wasn't in the node_modules
of the gulp-kss
plugin. Weird...
I am facing following error when running gulp-kss. its working perfectly in node-kss
Console Error
gulp configuration file