appleboy / appleboy/gulp-compass

gulp-compass - Not work

Open
#123 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
172
Forks
54
PR merge metrics
No merged PRs in 30d

Description

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.

``` javascript
I have

build------sass
|---css
images
node_modules
src------sass
|---css
index.html
package.json
gulpfile.js
```

``` javascript
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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with gulpfile.js and the gulp-compass configuration shown in the issue, then compare the project, sass, css, and image paths with the package documentation. Reproduce the Compass error and verify the configuration against the reported directory layout; done means the task runs without the “Individual stylesheets must be in the sass directory” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, sass
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.