dimanche 29 mai 2016

Ember.js: Pass options to node.js

I'm trying to build some LESS code (via ember-cli-less) to CSS file.

1) http://ift.tt/1F4prXX AdminLTE LESS files 2) Bootstrap LESS files.

And I got:

⠸ Building
<--- Last few GCs --->
87632 ms: Scavenge 1403.1 (1458.1) -> 1403.1 (1458.1) MB, 92.0 / 0 ms (+ 19.3 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
90306 ms: Mark-sweep 1403.1 (1458.1) -> 1399.0 (1457.1) MB, 2674.4 / 0 ms (+ 1196.1 ms in 2698 steps since start of marking, biggest step 21.2 ms) [last resort gc].
93043 ms: Mark-sweep 1399.0 (1457.1) -> 1396.1 (1458.1) MB, 2737.2 / 0 ms [last resort gc].


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x26d2e65b4629 <JS Object>
1: eval [/home/ofry/my-new-lk/node_modules/less/lib/less/tree/ruleset.js:~33] [pc=0x2f428a9933db] (this=0x26d2e6581591 <JS Object>,context=0x289d4931c589 <JS Object>)
2: eval [/home/ofry/my-new-lk/node_modules/less/lib/less/tree/ruleset.js:~33] [pc=0x2f428a992d84] (this=0x289d4931c7a1 <JS Object>,context=0x289d4931c589 <JS Object>)
3: evalCall [/home/ofry/my-new-lk/node_modules/less...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

So I need to pass somehow --max_old_space_size=big_number when launch

ember build

How I can do this?




Aucun commentaire:

Enregistrer un commentaire