Less Compile error in layout.less #900

PRIMETSS opened this Issue Dec 15, 2016 · 0 comments


None yet

1 participant


Getting this error when running a gulp-less compile on .less files

"[15:34:20] Plumber found unhandled error:
Error in plugin 'gulp-less'
variable @zindexFixedNavbar is undefined in file .......\wwwroot\lib\metro\less\layout.less line no. 10"

.container {
	width: 960px;
	margin: 0 auto;

.fixed-top, .fixed-bottom {
    position: fixed;
    left: 0;
    right: 0;
    z-index: @zindexFixedNavbar;

Gulp Task
Gulp.task("less", function () { return gulp.src("wwwroot/lib/metro/less/*.less") .pipe(plumber()) .pipe(less()) .pipe(gulp.dest("wwwroot/lib/metro/GluplessBuiltCSS/")); });

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