我有一个包括指南针的问题。这是我得到的错误:
“错误:要导入的文件未找到或不可读:指南针。\ A加载路径: / usr / local / www / project / sass \ a sass / style.scss的第1行\ A \ A 1: @import'指南针'; \ A 2:@import'指南针/重置'; \ A 3:@import \“指南针/布局/粘贴页脚”; \ A 4:@import'susy'; \ A 5:@import '断点'; \ A 6:“
这是gulp中的代码:
var gulp = require('gulp');
var compass = require('gulp-compass');
var sass = require('gulp-ruby-sass');
var sourcemaps = require('gulp-sourcemaps');
gulp.task('compass', function() {
gulp.src('sass/*.scss')
.pipe(compass({
config_file: 'config.rb',
css: 'css',
sass: 'sass'
}))
.pipe(gulp.dest('css'));
});
gulp.task('sass', function() {
return sass('sass', { sourcemap: true })
.on('error', function (err) {
console.error('Error', err.message);
})
.pipe(sourcemaps.write())
.pipe(gulp.dest('css'));
});
gulp.task('default', ['sass', 'compass']);
任何建议,解决方案......