twitter/bootstrap — Issue #1041: 2.0 less produces error when compiling after changes to navbar.less
Author: wuliwong
Created: 2012-01-18 05:48:48+00:00
State: open

If I make a change to "navbar.less" I get the following error when less compiles:

NameError: #gradient > .vertical is undefined in /Users/.../lib/navbar.less: 16:2
15 background-color: @navBarBgEnd;
16 #gradient > .vertical(@navBarBgStart, @navBarBgEnd);
17 @shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);[0m

I hand copied that error, I believe I copied it correctly. This comes from any change, even if I type something and delete it and resave, this error gets produced.