After running grunt clean in magento 2.1.3 root folder I get error

 If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings

Warning: Task "clean" failed. Use --force to continue.

Aborted due to warnings.

I tried npm install clean & npm install clean --save-dev but get the same error. I looked at the url they sent but it is not clear what I should add where?

How do I solve this error?

npm install grunt-clean --save-dev

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.