Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gulp-compass - Not work #123

Open
Yuriy-Svetlov opened this issue Jan 24, 2016 · 1 comment
Open

gulp-compass - Not work #123

Yuriy-Svetlov opened this issue Jan 24, 2016 · 1 comment

Comments

@Yuriy-Svetlov
Copy link

I read description - https://www.npmjs.com/package/gulp-compass?__hstc=72727564.814ff8fd14c002f0cdd4e8806048753f.1452339146943.1453598162553.1453608453230.84&__hssc=72727564.4.1453608453230&__hsfp=2607638676

But i not understand how need tune gulpfile.js. Help please me.

I have

build------sass
       |---css
images
node_modules
src------sass
     |---css
index.html
package.json
gulpfile.js
var compass = require('gulp-compass'),
  path = require('path');

//COMPASS
gulp.task('compass', function () {
    gulp.src('src/sass/**/*.scss')
      .pipe(compass({
          project: path.join(__dirname, 'assets'),
          css: '/src/css/**/*.css',
          sass: '/src/sass/**/*.scss',
          image: '/images'
      }))
      .pipe(gulp.dest('/temp'));
});

[08:28:11] Individual stylesheets must be in the sass directory.

events.js:141
throw er; // Unhandled 'error' event
^
Error: Compass failed

@Yuriy-Svetlov
Copy link
Author

.pipe(gulp.dest('app/assets/temp')); --- why is it need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant