jit-grunt:找不到“干净”任务的插件
jit-grunt: Plugin for the “clean” task not found
在 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环境下不清楚我应该在哪里添加什么?
如何解决这个错误?
试试这个:
npm install grunt-clean --save-dev
或
npm install grunt-contrib-clean --save-dev
请参考Gruntfile.js
在 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环境下不清楚我应该在哪里添加什么?
如何解决这个错误?
试试这个:
npm install grunt-clean --save-dev
或
npm install grunt-contrib-clean --save-dev
请参考Gruntfile.js