magento-2-pronko-consulting-theme
magento-2-pronko-consulting-theme copied to clipboard
less issue
hello
` Deploy using quick strategy frontend/Magento/blank/en_US 2365/2365 ============================ 100% 6 secs adminhtml/Magento/backend/en_US 2482/2482 ============================ 100% 6 secs frontend/Magento/luma/en_US 2382/2382 ============================ 100% 5 secs frontend/PatrickPeng/studio/en_US 88/2390 =>-------------------------- 3% 2 secs Compilation from source: /var/www/magento2/lib/web/mage/gallery/gallery.less variable @media-common is undefined in file /var/www/magento2/var/view_preprocessed/pub/static/frontend/PatrickPeng/studio/en_US/css/source/_theme.less in _theme.less on line 128, column 9 126| // _____________________________________________ 127| 128| & when (@media-common = true) { frontend/Magento/blank/en_US 2365/2365 ============================ 100% 6 secs adminhtml/Magento/backend/en_US 2482/2482 ============================ 100% 6 secs frontend/Magento/luma/en_US 2382/2382 ============================ 100% 5 secs frontend/PatrickPeng/studio/en_US 2110/2390 ========================>--- 88% 7 secs Compilation from source: /var/www/magento2/vendor/magento/theme-frontend-blank/web/css/print.less variable @media-common is undefined in file /var/www/magento2/var/view_preprocessed/pub/static/frontend/PatrickPeng/studio/en_US/css/source/_theme.less in _theme.less on line 128, column 9 126| // _____________________________________________ 127| 128| & when (@media-common = true) { 129| 130| .button-container { 131| //margin-bottom: 20px;
Compilation from source: /var/www/magento2/vendor/magento/theme-frontend-blank/web/css/email-inline.less variable @media-common is undefined in file /var/www/magento2/var/view_preprocessed/pub/static/frontend/PatrickPeng/studio/en_US/css/source/_theme.less in _theme.less on line 128, column 9 126| // _____________________________________________ 127| 128| & when (@media-common = true) { frontend/Magento/blank/en_US 2365/2365 ============================ 100% 6 secs adminhtml/Magento/backend/en_US 2482/2482 ============================ 100% 6 secs frontend/Magento/luma/en_US 2382/2382 ============================ 100% 5 secs frontend/PatrickPeng/studio/en_US 2390/2390 ============================ 100% 7 secs
`
how to fix ?
you could import _responsive.less exists in lib and lib/variable or just remove the @media_common variable in theme.less
& when (@media-common = true) { => & when (true)
Same Error still exists

On Running this command : F:\xampp\htdocs\mag>php bin/magento s:s:d -f**
Got Error :- Compilation from source: F:/xampp/htdocs/mag/vendor/magento/theme-frontend-blank/web/css/email-inline.less variable @media-common is undefined in file F:/xampp/htdocs/mag/var/view_preprocessed/pub/static/frontend/Pronko/consulting/en_US/css/source/_theme.less in _theme.less on line 128, column 9
Please Provide How to correct it line by line
Deploy using quick strategy frontend/Magento/blank/en_US 2269/2269 ============================ 100% 1 min adminhtml/Magento/backend/en_US 2908/2908 ============================ 100% 31 secs frontend/Magento/luma/en_US 2285/2285 ============================ 100% 25 secs frontend/Pronko/consulting/en_US 757/2293 =========>------------------ 33% 9 secs Compilation from source: F:/xampp/htdocs/mag/lib/web/mage/gallery/gallery.less variable @media-common is undefined in file F:/xampp/htdocs/mag/var/view_preprocessed/pub/static/frontend/Pronko/consulting/en_US/css/source/_theme.less in _theme.less on line 128, column 9 126| // _____________________________________________ 127| 128| & when (@media-common = true) { frontend/Magento/blank/en_US 2269/2269 ============================ 100% 1 min adminhtml/Magento/backend/en_US 2908/2908 ============================ 100% 31 secs frontend/Magento/luma/en_US 2285/2285 ============================ 100% 25 secs frontend/Pronko/consulting/en_US 2184/2293 ==========================>- 95% 17 secs Compilation from source: F:/xampp/htdocs/mag/vendor/magento/theme-frontend-blank/web/css/email-inline.less variable @media-common is undefined in file F:/xampp/htdocs/mag/var/view_preprocessed/pub/static/frontend/Pronko/consulting/en_US/css/source/_theme.less in _theme.less on line 128, column 9 126| // _____________________________________________ 127| frontend/Magento/blank/en_US 2269/2269 ============================ 100% 1 min adminhtml/Magento/backend/en_US 2908/2908 ============================ 100% 31 secs frontend/Magento/luma/en_US 2285/2285 ============================ 100% 25 secs frontend/Pronko/consulting/en_US 2293/2293 ============================ 100% 39 secs frontend/Evince/shoptheme/en_US 2286/2286 ============================ 100% 42 secs Compilation from source: F:/xampp/htdocs/mag/vendor/magento/theme-frontend-blank/web/css/print.less Execution time: 555.11294913292ined in file F:/xampp/htdocs/mag/var/view_preprocessed/pub/static/frontend/Pronko/consult ing/en_US/css/source/_theme.less in _theme.less on line 128, column 9