Maximum call stack Exceeded
See original GitHub issueHey guys,
I have a very large project that I am trying to use with this plugin and I am constantly getting the following error whenever I try to use it.
RangeError: Maximum call stack size exceeded at D:\dev\editor\node_modules\gulp-inline-ng2-template\node_modules\async\dist\async.js:842:20 at D:\dev\editor\node_modules\gulp-inline-ng2-template\node_modules\async\dist\async.js:5218:17 at D:\dev\editor\node_modules\gulp-inline-ng2-template\node_modules\async\dist\async.js:339:31 at D:\dev\editor\node_modules\gulp-inline-ng2-template\parser.js:114:13
Based on the discussion here I have changed your code locally to use:
process.nextTick(cb);
and everything seems to be working as expected. I can not seem to reproduce the problem on a smaller project. Just wanted to make you aware of the issue and maybe you can investigate further.
Thanks,
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:14 (6 by maintainers)
Top GitHub Comments
published as
2.0.5
My problem is identical to what @fcastill describes. Can either use the PR that I submitted or filter out any files that do not have components. Maybe a better solution would be to have some code that ignores any files that do not have components from the start.