grunt magento2 警告标志显示 magento 命令
grunt magento2 warning sign shows magento command
我在使用 grunt 时遇到问题
警告标志是
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.
完成了,但它没有将 less 转换为 css
当我查看 combo.js 文件时,上面的任务是“&&”,"php","bin/magento" 作为命令的一部分存在
请帮忙
G运行t 失败,因为它试图执行由双符号 &&
.
连接的两个命令
这是grunt-exec 2.0.0
中出现的a bug。升级到 3.0.0
对我没有帮助,但降级到 ~1.0.0
解决了问题。
编辑 package.json 因此 g运行t-exec 的行显示为:
"grunt-exec": "~1.0.0",
然后运行npm-update
下载旧版本的包。 G运行t 应该在那之后工作。
我在使用 grunt 时遇到问题
警告标志是
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.
完成了,但它没有将 less 转换为 css
当我查看 combo.js 文件时,上面的任务是“&&”,"php","bin/magento" 作为命令的一部分存在
请帮忙
G运行t 失败,因为它试图执行由双符号 &&
.
这是grunt-exec 2.0.0
中出现的a bug。升级到 3.0.0
对我没有帮助,但降级到 ~1.0.0
解决了问题。
编辑 package.json 因此 g运行t-exec 的行显示为:
"grunt-exec": "~1.0.0",
然后运行npm-update
下载旧版本的包。 G运行t 应该在那之后工作。