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

Maximum call stack size exceeded when parsing project #122

Open
aymericbouzy opened this issue Feb 3, 2017 · 1 comment
Open

Maximum call stack size exceeded when parsing project #122

aymericbouzy opened this issue Feb 3, 2017 · 1 comment

Comments

@aymericbouzy
Copy link

When parsing my project, I get the following error :

RangeError: Maximum call stack size exceeded
    at RegExp.test (native)
    at peg$parseIdentifier (/Users/aymericbouzy/Documents/Développement informatique/instant_job_app/node_modules/xcode/lib/parser/pbxproj.js:1216:19)
    at peg$parseCommentedIdentifier (/Users/aymericbouzy/Documents/Développement informatique/instant_job_app/node_modules/xcode/lib/parser/pbxproj.js:724:12)
    at peg$parseCommentedAssignment (/Users/aymericbouzy/Documents/Développement informatique/instant_job_app/node_modules/xcode/lib/parser/pbxproj.js:611:12)
    at peg$parseAssignment (/Users/aymericbouzy/Documents/Développement informatique/instant_job_app/node_modules/xcode/lib/parser/pbxproj.js:542:14)
    at peg$parseAssignmentList (/Users/aymericbouzy/Documents/Développement informatique/instant_job_app/node_modules/xcode/lib/parser/pbxproj.js:462:14)
    at peg$parseAssignmentList (/Users/aymericbouzy/Documents/Développement informatique/instant_job_app/node_modules/xcode/lib/parser/pbxproj.js:467:18)
    at peg$parseAssignmentList (/Users/aymericbouzy/Documents/Développement informatique/instant_job_app/node_modules/xcode/lib/parser/pbxproj.js:467:18)
    at peg$parseAssignmentList (/Users/aymericbouzy/Documents/Développement informatique/instant_job_app/node_modules/xcode/lib/parser/pbxproj.js:467:18)
    at peg$parseAssignmentList (/Users/aymericbouzy/Documents/Développement informatique/instant_job_app/node_modules/xcode/lib/parser/pbxproj.js:467:18) 

My project was generated by React Native, and may have been tempered with in the process of upgrading / downgrading from a RN version to another, but it compiles and runs fine.

Any advice on how to debug this?

@aymericbouzy
Copy link
Author

When testing with PEG.js online parser, my project is parsed successfully.

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