Breastplate magento2 warning sign shows the magento team

I have a problem using grunt

Warning sign

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. 

This is done, but it does not convert less to css

When I look at the combo.js file, the tasks above which are "&", "php", "bin / magento" are part of the command

Please, help

+5
source share
1 answer

Grunt's mistake is because it tries to execute two commands connected by a double ampersand and && .

This is a bug that appears in grunt-exec 2.0.0 . Upgrading to 3.0.0 did not help me, but downgrading to ~1.0.0 fixed the problem.

Modify package.json so that the line for grunt-exec reads:

 "grunt-exec": "~1.0.0", 

Then run npm-update to download an older version of the package. After that, Grunt should work.

+4
source

Source: https://habr.com/ru/post/1273014/


All Articles