-
Notifications
You must be signed in to change notification settings - Fork 81
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
RangeError: Maximum call stack size exceeded when running my project #130
Comments
Hi @MichaelSu1983 , did you manage to solve this? |
No, I just abandon the attempt for doing it. Is there any update on it? |
@MichaelSu1983 one way to solve this is to use https://github.com/kogosoftwarellc/open-api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a large swagger file about 100 endpoints, and create swaggerize express project. when I run node server.js, I got this error. Even I removed the enpoints in swagger file, but it does not help.
what is the reason for this?
`node_modules/hoek/lib/index.js:24
seen = { orig: [], copy: [] };
^
RangeError: Maximum call stack size exceeded
at Object.exports.clone (/Users/msu/swagger-mock/confluence-swagger-mock/node_modules/hoek/lib/index.js:24:5)
at internals.String.internals.Any.clone (/Users/msu/swagger-mock/confluence-swagger-mock/node_modules/joi/lib/any.js:114:24)
at internals.String.internals.Any.allow (/Users/msu/swagger-mock/confluence-swagger-mock/node_modules/joi/lib/any.js:269:20)
at regularString (/Users/msu/swagger-mock/confluence-swagger-mock/node_modules/enjoi/lib/enjoi.js:229:39)
at string (/Users/msu/swagger-mock/confluence-swagger-mock/node_modules/enjoi/lib/enjoi.js:213:29)
at resolvetype (/Users/msu/swagger-mock/confluence-swagger-mock/node_modules/enjoi/lib/enjoi.js:95:29)
at resolve (/Users/msu/swagger-mock/confluence-swagger-mock/node_modules/enjoi/lib/enjoi.js:23:20)
at /Users/msu/swagger-mock/confluence-swagger-mock/node_modules/enjoi/lib/enjoi.js:144:25
at Array.forEach (native)
at resolveproperties (/Users/msu/swagger-mock/confluence-swagger-mock/node_modules/enjoi/lib/enjoi.js:139:41)`
The text was updated successfully, but these errors were encountered: