Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working #2

Open
teejayhh opened this issue Mar 26, 2015 · 0 comments
Open

Not working #2

teejayhh opened this issue Mar 26, 2015 · 0 comments

Comments

@teejayhh
Copy link

I am trying to get this working but I am failing to get it running. It seems that the grunt libs have changed and therefore your task is not executing the right way.

Running "sass_imagemapper:all" (sass_imagemapper) task
Warning: Cannot read property 'dest' of undefined Use --force to continue.

grunt.util._ has been binned in favour of lodash.

to fix this do the following, add the npm lodash module to the package and load it

return grunt.registerMultiTask("sass_imagemapper", "Plugin to generate css file wto bind all images from folder", function() {
        _ = require('lodash'); // <--

replace all occurrences of grunt.util._ with _.

and here we go -> its working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant