Magento – NameError: variable @font-family-name__base is undefined

lessmagento2

This has been asked before, but I'm still not finding a solution. When using client side compile I get "NameError: variable @font-family-name__base is undefined". I've deleted everything and reinstalled M2 with composer. I'm working off of the blank theme with no custom code whatsoever. Permissions should be correct, I've deployed static content, grunt deploy, cleared caches numerous times and yet I keep getting "NameError: variable @font-family-name__base is undefined". I feel like M2 is very finicky, so I'm sure others have been in this same situation.

What are the cases and/or solutions that you guys have found?

Also, Luma works without any issues? This makes absolutely no sense to me…

Best Answer

Long story short, missing less file. The missing file was custom and didn't contain any styling, but the missing file prevented less from compiling.

Related Topic