Skip to content

RangeError: Maximum call stack size exceeded #246

Closed
@kferrone

Description

@kferrone

I unfortunately get the following error a lot when I use this package.

RangeError: Maximum call stack size exceeded

The title of the error is always the same but the rest of the stack trace seems to be pretty random depending on where it failed and what type it was run for.

Here is a link to my sampler project which shows off my problems:
@kferrone/sequel_fun

So far I have only had issues with anything related to Sequelize which may help narrow the problem. I've tried the same scenarios on other Interfaces from Elasticsearch, Restify, Winston, etc... and they all worked.

Do you see anything you know would trip this out? Any ideas on how to get it to generate correctly?

Some things I tried:

  • Setting the stack size like so --stack-size=5000, however that just gives me a stack fault and quits no matter whatI do.
  • Tried directly generating a schema from another Interface I never used, i.e. ISequelizeUriConfig, still the same issue, which at least shows it's not what I have done causing the issues.
  • step through debugging was too complicated . . .
  • tried a lot of combinations of the available cli args, i.e. topRef, aliasRef, etc. . .

Metadata

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