Compilation memory issue less with grunts

I am currently using bower + grunt to build my site.

in bower.json:

  "dependencies": {
    "jquery": "~2.1.3",
    "bootstrap": "~3.3.2",
    "admin-lte": "~2.0.0"
  },

dependecies in my package.json:

  "dependencies": {
    "grunt": "^0.4.5",
    "grunt-bower-concat": "^0.4.0"
  },
  "devDependencies": {
    "grunt": "^0.4.5",
    "grunt-contrib-concat": "^0.5.1",
    "grunt-contrib-copy": "^0.7.0",
    "grunt-contrib-cssmin": "^0.12.2",
    "grunt-contrib-less": "^1.0.0",
    "grunt-contrib-uglify": "^0.7.0",
    "grunt-contrib-watch": "^0.6.1",
    "grunt-filerev": "^2.2.0",
    "grunt-usemin": "^3.0.0"
  },

I used AdminLTE 1.4.*and everything was in order. I upgraded to AdminLTE 2.0.0, and when I try to compile my fewer files, I get this error:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

I have a file base.lesscontaining only bootstrapad stylesheets Adminlte. If I exclude some files from importing the file adminlte.less(boot variables and mixins and all skins), it compiles without errors, but I also need to import skins :)

How can i fix this?

+4
source share
1

AdminLTE.less:

@import "../bootstrap-less/mixins.less";
@import "../bootstrap-less/variables.less";

:

/*
 * Skin: Blue
 * ----------
 */
//@import "../../bootstrap-less/mixins.less";
//@import "../../bootstrap-less/variables.less";

,

+3

All Articles