Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot extract string from js sources #58

Open
wiibaa opened this issue Jul 27, 2016 · 0 comments
Open

Cannot extract string from js sources #58

wiibaa opened this issue Jul 27, 2016 · 0 comments

Comments

@wiibaa
Copy link

wiibaa commented Jul 27, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant