Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup:static-content:deploy fails with Luma theme #2273

Closed
kassner opened this issue Nov 6, 2015 · 9 comments
Closed

setup:static-content:deploy fails with Luma theme #2273

kassner opened this issue Nov 6, 2015 · 9 comments
Assignees

Comments

@kassner
Copy link
Contributor

kassner commented Nov 6, 2015

kassner@w:~/workspace/magento2$ bin/magento setup:static-content:deploy
Requested languages: en_US
=== frontend -> Magento/luma -> 
....
Compilation from source: 
frontend/Magento/luma/en_US/css/email-inline.less
variable @modal-slide-header__padding-vertical is undefined in file /home/kassner/workspace/magento2/var/view_preprocessed/css/frontend/Magento/luma/en_US/css/source/_theme.less in _theme.less on line 254, column 37
252| //  Modal popup
253| @modal-action-close__font-size: @font-size__base;
254| @modal-slide-action-close__padding: @modal-slide-header__padding-vertical @modal-popup__padding;
255| 
256| //  Checkout tooltip icon
257| @checkout-tooltip-icon__font-size: 21px;>

Just remove/comment out the line 254 and the command exits with no errors.

Tested version: 2.0.0-rc

@ericvhileman
Copy link

Had a white screen of death after commenting out that line. Cleared var/ and things appear to be working mostly except for the product pages.
screenshot 2015-11-05 21 03 13

@daim2k5
Copy link
Contributor

daim2k5 commented Nov 6, 2015

Please delete again the var/* content
and make a

  1. bin/magento setup:upgrade
  2. bin/magento setup:static-content:deploy

@ivanweiler
Copy link

On catalog product page, /mage/gallery/gallery.css can't be created, same problem:

Compilation from source: 
frontend/Magento/luma/en_US/mage/gallery/gallery.less
variable @modal-slide-header__padding-vertical is undefined in file /var/www/magento2/var/view_preprocessed/css/frontend/Magento/luma/en_US/css/source/_theme.less in _theme.less on line 254, column 37
252| //  Modal popup
253| @modal-action-close__font-size: @font-size__base;
254| @modal-slide-action-close__padding: @modal-slide-header__padding-vertical @modal-popup__padding;
255| 
256| //  Checkout tooltip icon
257| @checkout-tooltip-icon__font-size: 21px;

If you click base image, or add multiple images to product, styling is broken, most likely because of this.

@MomotenkoNatalia MomotenkoNatalia self-assigned this Nov 6, 2015
@zanilee
Copy link
Contributor

zanilee commented Nov 6, 2015

Hi, @kassner!
Internal ticket MAGETWO-45071

@degaray
Copy link

degaray commented Nov 9, 2015

Hi, I am having the same issue. Do you have a quick fix to solve this? I tried to do:

  1. bin/magento setup:upgrade
  2. bin/magento setup:static-content:deploy

@dmitrii-fediuk
Copy link

My fix for the problem with the frontend product gallery: https://mage2.pro/t/188

@dmitrii-fediuk
Copy link

My universal fix for all the «variable @modal-slide-header__padding-vertical is undefined» problems: https://mage2.pro/t/193

@MomotenkoNatalia
Copy link
Contributor

@kassner Internal ticket MAGETWO-45071 is closed and delivered to mainline. Please, let us know if you still have an issue.

@techbandhu
Copy link

techbandhu commented Jun 1, 2016

I am getting error with setup:static-content:deploy

Compilation from source:
frontend/Magento/blank/en_US/css/styles-m.less
.lib-magento-reset is undefined in /var/www/project/var/view_preprocessed/css/frontend/Magento/blank/en_US/css/source/_reset.less>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants