0

Instructions on Foundation website for using gulp to compile a framework-cli install are

gulp.src('./scss/*.scss')
  .pipe(sass({
    includePaths: ['bower_components/foundation/scss']
  }))
  .pipe(gulp.dest('./css'));

I have implemented using

var gulp = require('gulp');
var sass = require('gulp-ruby-sass');

gulp.task('sass', function() {
  return gulp.src('./scss/*.scss')
    .pipe(sass({
      includePaths: ['bower_components/foundation/scss']
    }))
    .pipe(gulp.dest('./css'));
});

But, after executing

> grunt sass

I get the error from sass:

> TypeError: Arguments to path.join must be strings
1
  • Instead of gulp, consider using the native ember-cli build process and use ember-cli-foundation-sass Aug 3, 2015 at 21:27

1 Answer 1

0

You said you are using gulp to compile your Sass, but you are running the command grunt sass. You should run the command gulp sass instead. Grunt and gulp are two different/separate task runners.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.