Skip to content

Cannot extract string from js sources #58

Open
@wiibaa

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions