2016-11-04 4 views
0

Wenn ich grunt build habe, habe ich diesen Fehler, jede Idee, wie kann ich dieses Problem lösen?jit-grunt: Plugin für die "saubere" Aufgabe nicht gefunden?

grunzen

Running "concurrent:dist" (concurrent) task 
    Warning: 
    jit-grunt: Plugin for the "compass" task not found. 
    If you have installed the plugin already, please setting the static mapping. 
    See https://github.com/shootaroo/jit-grunt#static-mappings 

    Warning: Task "compass:dist" failed. Use --force to continue. 

    Aborted due to warnings. 

Gruntfile.js

require('jit-grunt')(grunt, { 
    express: 'grunt-express-server', 
    useminPrepare: 'grunt-usemin', 
    ngtemplates: 'grunt-angular-templates', 
    cdnify: 'grunt-google-cdn', 
    protractor: 'grunt-protractor-runner', 
    buildcontrol: 'grunt-build-control', 
    istanbul_check_coverage: 'grunt-mocha-istanbul', 
    ngconstant: 'grunt-ng-constant' 
    }); 

Antwort

2

Sie bauen müssen die compass Plugin als eine Abhängigkeit installieren. Sie können dies erreichen, indem Sie den folgenden Befehl aus Ihrem Arbeitsverzeichnis ausführen.

npm install grunt-contrib-compass --save-dev 

Hoffe, das hilft!

Verwandte Themen