在 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.
Run Code Online (Sandbox Code Playgroud)
我试过npm install clean&npm install clean --save-dev但得到同样的错误。
我查看了静态映射的 url,但在 Magento 环境中不清楚我应该在哪里添加什么?
我该如何解决这个错误?
小智 5
尝试这个:
npm install grunt-clean --save-dev
Run Code Online (Sandbox Code Playgroud)
或者
npm install grunt-contrib-clean --save-dev
Run Code Online (Sandbox Code Playgroud)
请参阅 Gruntfile.js
| 归档时间: |
|
| 查看次数: |
6351 次 |
| 最近记录: |