当我运行grunt build时,我得到了这个错误,你知道我如何解决这个问题吗?
grunt构建
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'
});发布于 2016-11-04 22:06:59
您需要将compass插件作为依赖项安装。您可以通过从您的工作目录执行以下命令来实现这一点。
npm install grunt-contrib-compass --save-dev希望这能有所帮助!
https://stackoverflow.com/questions/40424537
复制相似问题