在magento 2.1.3根文件夹中运行grunt clean后,我收到错误
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.
我试过npm install clean
& npm install clean --save-dev
但得到同样的错误。
我查看了静态映射的url,但是在Magento环境中我不应该在哪里添加?
如何解决此错误?
答案 0 :(得分:3)
试试这个:
npm install grunt-clean --save-dev
或
npm install grunt-contrib-clean --save-dev
请参阅Gruntfile.js