手写笔jeet不再起作用了

时间:2016-09-08 13:59:20

标签: node.js stylus jeet-grid

在一天内我遇到了这个错误。它不再适用于我。

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

1 个答案:

答案 0 :(得分:2)

npm i github:mojotech/jeet#master --save-dev

npm i jeet@6.1.2 --save-dev

[GitHub] Jeet 6.1.4 + Stylus doesn't work #494