3

I have a clean install of https://github.com/FezVrasta/bootstrap-material-design. I tried to compile it using grunt but I get the following error:

 Running "less:material" (less) task  FileError:
 '../bower_components/bootstrap/less/variables.less' wasn't found.
 Tried -
 bower_components/bootstrap/less/variables.less,bower_components/bootstrap/less/variables.less,../bower_components/bootstrap/less/variables.less
 in less/_import-bs-less.less on line 1, column 1:  1 @import
 "../bower_components/bootstrap/less/variables.less";  2 //@import
 "../bower_components/bootstrap/less/mixins.less";

Is there something I am missing?

T J
  • 42,762
  • 13
  • 83
  • 138
George L
  • 1,673
  • 2
  • 26
  • 39

1 Answers1

4

You're getting the error because the grunt less plugin is not able to find a file that needs to be imported. Since the file is pointing to /bower_components directory, the issue is probably that you forgot to run bower install which creates /bower_components directory and installs the missing files.

T J
  • 42,762
  • 13
  • 83
  • 138