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

Excessive stack depth #3725

Closed
florianislitzer opened this issue Feb 27, 2019 · 6 comments
Closed

Excessive stack depth #3725

florianislitzer opened this issue Feb 27, 2019 · 6 comments

Comments

@florianislitzer
Copy link

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'.

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

@johannesschobel
Copy link
Contributor

Hey @florianislitzer ,

this is an issue related to typescript (see microsoft/TypeScript#21592 ). Downgrading helped for me - at least for the moment..

All the best

@pleerock
Copy link
Member

Can you please check if you still have issue in typeorm@0.2.15-rc.1 ? (npm i typeorm@0.2.15-rc.1)

@xmlking
Copy link

xmlking commented Mar 12, 2019

@pleerock it is not crashing but still see error message

ERROR in undefined(undefined,undefined):
TS2321: Excessive stack depth comparing types 'any' and 'FindConditions<T>'.
Version: typescript 3.3.3333

to reproduce

https://github.com/xmlking/ngx-starter-kit

git clone https://github.com/xmlking/ngx-starter-kit
cd ngx-starter-kit
npm i
docker-compose up postgres  # optional 
ng serve api

@pleerock
Copy link
Member

@xmlking can it be a simple reproduction with only typeorm inside?

@xmlking
Copy link

xmlking commented Mar 12, 2019

Sure , will provide by tomorrow

@Kononnable
Copy link
Contributor

Closing as no reproduction repo was provided.

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

5 participants