Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/285.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php grunt magento2警告标志显示magento命令_Php_Gruntjs_Magento2 - Fatal编程技术网

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
下载包的旧版本。格朗特应该在那之后工作