jit-grunt icon indicating copy to clipboard operation
jit-grunt copied to clipboard

Static mapping not working

Open kitsguru opened this issue 8 years ago • 1 comments

I am using grunt-bump v0.8.0 with jit-grunt v0.10.0 & grunt 1.0.1 and getting an error for bump-only and bump-commit. bump by itself works fine.

gruntfile.js

    require('jit-grunt')(grunt)({
       'bump-only': 'grunt-bump',
       'bump-commit': 'grunt-bump',
       customTasksDir: 'grunt-tasks'
    });

Error is

jit-grunt: Plugin for the "bump-only" 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 "bump-only" failed. Use --force to continue.

I have tried several variations of the static mappings but everyone results in the same error. I am using the example grunt-bump configuration.

see: https://github.com/vojtajina/grunt-bump/issues/183

kitsguru avatar May 11 '16 15:05 kitsguru

We're seeing the same thing using the load-grunt-config plugin. I'm going to try reverting to the previous version in the interim.

reubent avatar May 13 '16 16:05 reubent