0

enter image description here

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..

sv3n
11.7k7 gold badges44 silver badges75 bronze badges
asked Jul 7, 2017 at 11:58

1 Answer 1

0

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

answered Jul 7, 2017 at 12:51
27
  • the error shows again when try to clear view_preprocessed file then run deploy command Commented Jul 7, 2017 at 16:20
  • Do you may show your print.less? I think that together we will find the reason of problem. Commented Jul 7, 2017 at 16:44
  • urbanzaveri.com/pub/static/frontend/Novaworks/thebear/en_US/css/… Commented Jul 7, 2017 at 17:06
  • This is the print.less file link Commented Jul 7, 2017 at 17:07
  • I have 404 error, not found Commented Jul 7, 2017 at 17:13

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.