0
So far everything worked on Gulp perfectly, except the Sass.
My Code:
var sass = require('gulp-ruby-sass');
gulp.task('styles', function(){
gulp.src('./src/scss/**/*.scss')
.pipe(sass())
.pipe(gulp.dest('./src/css/'));
})
gulp.task('default', function() {
gulp.run('styles');
});
The error he returns to me is: Arguments to path.Join must be string
someone knows the problem? have been through this?
Ahh found another simpler Gulp Sass plugin that works
– Fábio Chiquezi
"Gulp.task('Styles', Function(){" switch to "Gulp.task('Sass', Function(){" and here "Gulp.run('Styles');" to "Gulp.run('Sass.run"');
– user20038
I think it’s not the name the problem, I’ve done it too and it doesn’t work
– Fábio Chiquezi
Try using this https://www.npmjs.com/package/gulp-sass ai instead of "Gulp-ruby-Sass"
– user20038