在一天内我遇到了这个错误。它不再适用于我。
gulpfile.js
var gulp = require('gulp'),
stylus = require('gulp-stylus'),
jeet = require('jeet');
gulp.task('default', function () {
gulp.src('assets/*.styl')
.pipe(stylus({
use: [ jeet() ]
}))
.pipe(gulp.dest('assets/'));
});
theme.styl
@import "jeet"
.page
span(1/2)
failed to locate @import file jeet.styl
完整错误 - http://pastebin.com/KuZ4ZPwK
答案 0 :(得分:2)
npm i github:mojotech/jeet#master --save-dev
或
npm i jeet@6.1.2 --save-dev