Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. var gulp = require('gulp'),
  2. less = require('gulp-less');
  3.  
  4. // Compile Our Less
  5. gulp.task('less', function() {
  6. return gulp.src('bower_components/bootstrap/less/bootstrap.less')
  7. .pipe(less().on('error', function(err){
  8. errorLog(err);
  9. }))
  10. .pipe(gulp.dest('compiled-bootstrap-css'));
  11. });
  12.  
  13. gulp.task('default', ['less']);
  14.  
  15. function errorLog(err){
  16. console.log(err);
  17. }
  18.  
  19. [16:08:01] Starting 'less'...
  20. { [Error: Missing closing ')' in file d:UserstroutiIdeaProject
  21. bower_componentsbootstraplessmixins.less line no. 552]
  22. type: 'Parse',
  23. filename: 'd:\Users\trouti\IdeaProjects\PublicPortal\bower
  24. otstrap\less\mixins.less',
  25. index: 17957,
  26. line: 552,
  27. callLine: NaN,
  28. callExtract: undefined,
  29. column: 8,
  30. extract:
  31. [ ' .spanX (@index) when (@index > 0) {',
  32. ' (~".span@{index}") { .span(@index); }',
  33. ' .spanX(@index - 1);' ],
  34. message: 'Missing closing ')' in file d:\Users\trouti\Idea
  35. cPortal\bower_components\bootstrap\less\mixins.less line no.
  36. stack: undefined,
  37. lineNumber: 552,
  38. fileName: 'd:\Users\trouti\IdeaProjects\PublicPortal\bower
  39. otstrap\less\mixins.less',
  40. name: 'Error',
  41. showStack: false,
  42. showProperties: true,
  43. plugin: 'gulp-less',
  44. __safety: { toString: [Function] } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement