Php grunt magento2警告标志显示magento命令
我使用咕噜有问题 警告标志是Php grunt magento2警告标志显示magento命令,php,gruntjs,magento2,Php,Gruntjs,Magento2,我使用咕噜有问题 警告标志是 jit-grunt: Plugin for the "&&" task not found. If you have installed the plugin already, please setting the static mapping. See https://github.com/shootaroo/jit-grunt#static-mappings Warning: Task "&&" failed. Used --f
jit-grunt: Plugin for the "&&" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings
Warning: Task "&&" failed. Used --force, continuing.
jit-grunt: Plugin for the "php" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings
Warning: Task "php" failed. Used --force, continuing.
jit-grunt: Plugin for the "bin/magento" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings
Warning: Task "bin/magento" failed. Used --force, continuing.
jit-grunt: Plugin for the "dev" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings
Warning: Task "dev:source-theme:deploy" failed. Used --force, continuing.
jit-grunt: Plugin for the "css/styles-m" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings
Warning: Task "css/styles-m" failed. Used --force, continuing.
Done, but with warnings.
它已经完成了,但并没有转换成css
当我查看combo.js文件时,上面的任务是“&&”、“php”、“bin/magento”作为命令的一部分
请帮助Grunt失败,因为它试图执行两个由双符号和
&
连接的命令
这是出现在grunt exec 2.0.0
中的。升级到3.0.0
对我没有帮助,但降级到~1.0.0
解决了这个问题
编辑package.json,使grunt exec的行显示:
"grunt-exec": "~1.0.0",
然后运行npm update
下载包的旧版本。格朗特应该在那之后工作