grunt-angular-gettext icon indicating copy to clipboard operation
grunt-angular-gettext copied to clipboard

Cannot extract string from js sources

Open wiibaa opened this issue 8 years ago • 0 comments

Hello with latest version 2.2.3, when running the extraction task for any js file I receive the following error and no pot file is created

[RangeError: Maximum call stack size exceeded]
>> Maximum call stack size exceeded

As a test case I used this sample file and also https://github.com/rubenv/angular-gettext-tools/blob/master/test/fixtures/catalog.js, same error

'use strict';

angular.module('myApp').service('translationSrv', ['gettext', function(gettext) {

    this.getStringA = function() {
      return gettext('My string');
    };
}]);

Node version: 4.4.7 grunt-cli v1.2.0 grunt v0.4.5

Any hint how to debug this further would be greetly appreciated

wiibaa avatar Jul 27 '16 04:07 wiibaa