question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Excessive stack depth

See original GitHub issue

Issue type:

[ ] question [x ] bug report [ ] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [ ] mongodb [ ] mssql [x ] mysql / mariadb [ ] oracle [ ] postgres [ ] sqlite [ ] sqljs [ ] react-native [ ] expo

TypeORM version:

[ x] latest [ ] @next [ ] 0.x.x (or put your version here)

Steps to reproduce or a small repository showing the problem:

When starting my application running ts-node src/server.ts , I get the following error:

TSError: ⨯ Unable to compile TypeScript: error TS2321: Excessive stack depth comparing types ‘any’ and ‘FindConditions<T>’.

Do you have any idea where this comes from and what I can do about it?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
xmlkingcommented, Mar 12, 2019

Sure , will provide by tomorrow

1reaction
johannesschobelcommented, Mar 2, 2019

Hey @florianislitzer ,

this is an issue related to typescript (see https://github.com/Microsoft/TypeScript/issues/21592 ). Downgrading helped for me - at least for the moment…

All the best

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excessive stack depth comparing types with TS 3.2 #29112
TSError: ⨯ Unable to compile TypeScript: error TS2321: Excessive stack depth comparing types 'any' and 'ListIterateeCustom<T, boolean>'. error ...
Read more >
Typescript 4.5 excessive stack depth comparing types
I want to understand the use case because a recent feature request to turn string literals to numeric literals was declined, and this...
Read more >
Excessive stack usage when unwinding the stack when a c++ ...
I would say this is the expected behaviour. On 32 bit windows (VS 2019), the stack depth is the same for each catch...
Read more >
type-graphql/Lobby - Gitter
Well, for a projection I have to use MongoRepository, and this is blocked by the [at-loader] TS2321: Excessive stack depth comparing types ......
Read more >
InternalError: too much recursion - JavaScript - MDN Web Docs
The JavaScript exception "too much recursion" or "Maximum call stack size exceeded" occurs when there are too many function calls, or a function...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found