When running php bin/magento setup:static-content:deploy command it shows above error, I just replace the magento 2.1.6 files to magento 2.1.0 files now theme working fine but when run deploy command it shows the error.Please help somebody..
1 Answer 1
Show me all file print.less, please.
Variable @media-common set in /lib/web/css/source/lib/_responsive.less
May be your theme override this core file and it no contains the variable? Check file in this path:
/app/design/frontend/Novaworks/thebear/web/css/source/lib/_responsive.less
Also try to reset the cache in /var/view_preprocessed and try again.
rm -rf var/view_preprocessed && php bin/magento setup:static-content:deploy
-
the error shows again when try to clear view_preprocessed file then run deploy commandVelu– Velu2017年07月07日 16:20:17 +00:00Commented Jul 7, 2017 at 16:20
-
Do you may show your print.less? I think that together we will find the reason of problem.Evgeny Levinsky– Evgeny Levinsky2017年07月07日 16:44:47 +00:00Commented Jul 7, 2017 at 16:44
-
urbanzaveri.com/pub/static/frontend/Novaworks/thebear/en_US/css/…Velu– Velu2017年07月07日 17:06:43 +00:00Commented Jul 7, 2017 at 17:06
-
This is the print.less file linkVelu– Velu2017年07月07日 17:07:12 +00:00Commented Jul 7, 2017 at 17:07
-
I have 404 error, not foundEvgeny Levinsky– Evgeny Levinsky2017年07月07日 17:13:39 +00:00Commented Jul 7, 2017 at 17:13
Explore related questions
See similar questions with these tags.